diff options
| author | Martin Kaiser <[email protected]> | 2022-04-13 21:36:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-14 09:06:59 +0200 |
| commit | b0a347be3f46e31326fcb54eb538409d66ec74f8 (patch) | |
| tree | 40b832ab9adf68bb49413422375c92c937ca9100 /tools/perf/scripts/python/bin | |
| parent | 1dd0ac70494c1d04073de2dd5b51a60215f4d760 (diff) | |
staging: r8188eu: remove the bInSuspend loop
Remove the loop in rtw_pwr_wakeup that waits while the system is
suspended.
pwrpriv->bInSuspend is set in rtw_suspend and cleared in rtw_resume. These
functions are the .suspend and .resume functions of the struct usb_driver
for r8188eu.
A usb_driver's suspend and resume functions are called when the entire
system goes into suspend or runtime suspend.
All of the code paths for rtw_pwr_wakeup start at ioctl handlers.
We can remove the loop that checks bInSuspend. It's not possible to call
an ioctl while the entire system is suspended.
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions