]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: Update exit clock gating when port is resumed
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>
Tue, 13 Apr 2021 07:37:00 +0000 (11:37 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Apr 2021 10:25:12 +0000 (12:25 +0200)
commitea7e94c8fd656988f5a6fc0307be91566a312aaf
treeea21c7d30396bbf4d07f7a6fe59514aca3d561ad
parent8f87e4fedde92cf2ee1d64ec93a45471b7277d90
usb: dwc2: Update exit clock gating when port is resumed

Updates the implementation of exiting clock gating mode
when core receives port resume.
Instead of setting the required bit fields of the registers
inline, called the "dwc2_host_exit_clock_gating()" function.

Signed-off-by: Artur Petrosyan <Arthur.Petrosyan@synopsys.com>
Link: https://lore.kernel.org/r/20210413073701.367E0A022E@mailhost.synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd.c