aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorhayeswang <[email protected]>2017-06-13 15:14:40 +0800
committerDavid S. Miller <[email protected]>2017-06-16 11:37:13 -0400
commitbd8829822204debbb2dd38a5b052ef7663e618cc (patch)
tree12f9199896a4413b366ca7082bb01deec4562a21 /tools/perf/scripts/python/bin
parent21cbd0ecad7943bbd4f7d10efaade0380637d4a0 (diff)
r8152: move calling delay_autosuspend function
Move calling delay_autosuspend() in rtl8152_runtime_suspend(). Calling delay_autosuspend() as late as possible. The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend(). Signed-off-by: Hayes Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions