mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-01 07:42:18 +00:00
Update core_intr.c
This commit is contained in:
parent
3bd3c07868
commit
da25e1f405
@ -706,8 +706,10 @@ static inline void dwc_handle_gpwrdn_disc_det(struct dwc2_hsotg *hsotg,
|
||||
gpwrdn_tmp &= ~GPWRDN_PMUACTV;
|
||||
dwc2_writel(hsotg, gpwrdn_tmp, GPWRDN);
|
||||
|
||||
hsotg->hibernated = 0;
|
||||
#if IS_ENABLED(CONFIG_USB_DWC2_HOST) || \
|
||||
IS_ENABLED(CONFIG_USB_DWC2_DUAL_ROLE)
|
||||
hsotg->bus_suspended = 0;
|
||||
#endif
|
||||
|
||||
if (gpwrdn & GPWRDN_IDSTS) {
|
||||
hsotg->op_state = OTG_STATE_B_PERIPHERAL;
|
||||
|
Loading…
Reference in New Issue
Block a user