diff options
author | Weitao Wango <WeitaoWang-oc@zhaoxin.com> | 2022-03-24 15:17:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-21 19:53:53 +0300 |
commit | f085bd4bfe0907ce2fad2c787fc65871ec5ca6d6 (patch) | |
tree | 77617e99a6b76fb214b5dd767c35c9efa2010540 /lib/siphash.c | |
parent | 8d084b2eae7fc5fcfc9f143cd7321a88e1cd76aa (diff) | |
download | linux-f085bd4bfe0907ce2fad2c787fc65871ec5ca6d6.tar.xz |
USB: Fix ehci infinite suspend-resume loop issue in zhaoxin
In zhaoxin platform, some ehci projects will latch a wakeup signal
internal when plug in a device on port during system S0. This wakeup
signal will turn on when ehci runtime suspend, which will trigger a
system control interrupt that will resume ehci back to D0. As no
device connect, ehci will be set to runtime suspend and turn on the
internal latched wakeup signal again. It will cause a suspend-resume
loop and generate system control interrupt continuously.
Fixed this issue by clear wakeup signal latched in ehci internal when
ehci resume callback is called.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Weitao Wang <WeitaoWang-oc@zhaoxin.com>
Link: https://lore.kernel.org/r/20220324121735.3803-1-WeitaoWang-oc@zhaoxin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/siphash.c')
0 files changed, 0 insertions, 0 deletions