We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52fe2d commit 34146c6Copy full SHA for 34146c6
drivers/usb/dwc2/hcd.c
@@ -4399,11 +4399,12 @@ static int _dwc2_hcd_suspend(struct usb_hcd *hcd)
4399
* If not hibernation nor partial power down are supported,
4400
* clock gating is used to save power.
4401
*/
4402
- if (!hsotg->params.no_clock_gating)
+ if (!hsotg->params.no_clock_gating) {
4403
dwc2_host_enter_clock_gating(hsotg);
4404
4405
- /* After entering suspend, hardware is not accessible */
4406
- clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
+ /* After entering suspend, hardware is not accessible */
+ clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
4407
+ }
4408
break;
4409
default:
4410
goto skip_power_saving;
0 commit comments