]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: do not gate off the hardware if it does not support clock gating
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 4 Jan 2022 13:59:22 +0000 (07:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jan 2022 14:27:53 +0000 (15:27 +0100)
commit4cfa100292854592099c9635f984a32e50957f00
treed861bf9afd653f4ed8213ce4a220d014a1581eb2
parentab00e66385005aa980234272f6fe6d231679e292
usb: dwc2: do not gate off the hardware if it does not support clock gating

We should not be clearing the HCD_FLAG_HW_ACCESSIBLE bit if the hardware
does not support clock gating.

Fixes: 55fffd18531c ("usb: dwc2: Add clock gating entering flow by system suspend")
Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20220104135922.734776-1-dinguyen@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd.c