diff options
author | Douglas Anderson <dianders@chromium.org> | 2024-05-30 16:43:09 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-03 18:49:10 -0700 |
commit | 8c1d92a740c002f36a919a55689d0ef83b61fd1c (patch) | |
tree | 25d6e57ea0a4630145dd1a77f6138446eba72366 /net/ipv4/tcp_ipv4.c | |
parent | 4933b066fefbee4f1d2d708de53c4ab7f09026ad (diff) | |
download | linux-8c1d92a740c002f36a919a55689d0ef83b61fd1c.tar.gz linux-8c1d92a740c002f36a919a55689d0ef83b61fd1c.tar.bz2 linux-8c1d92a740c002f36a919a55689d0ef83b61fd1c.zip |
r8152: Wake up the system if the we need a reset
If we get to the end of the r8152's suspend() routine and we find that
the USB device is INACCESSIBLE then it means that some of our
preparation for suspend didn't take place. We need a USB reset to get
ourselves back in a consistent state so we can try again and that
can't happen during system suspend. Call pm_wakeup_event() to wake the
system up in this case.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Link: https://lore.kernel.org/r/66590f25.170a0220.8b5ad.1752@mx.google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions