diff options
author | Ming Lei <[email protected]> | 2012-06-19 21:15:52 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-06-22 17:34:17 -0700 |
commit | 5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe (patch) | |
tree | 3634dc8b320544ca8e567a9899f480172a0f19a3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fb13c47b8e5ce707268bd38cfd082da377eac4b7 (diff) |
usbnet: decrease suspend count if returning -EBUSY for runtime suspend
This patch decreases dev->suspend_count in the -EBUSY failure path
of usbnet_suspend. Without the change, the later runtime suspend
will do nothing except for increasing dev->suspend_count.
Signed-off-by: Ming Lei <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions