]> 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)
commit6663d70a19e145f6f07539bb33daeb9a5c5e48aa
treeea21c7d30396bbf4d07f7a6fe59514aca3d561ad
parent8f5024b86bc7ebb6288a56d0de3d6f7b6364966c
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