aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2007-07-16 15:28:19 -0400
committerGreg Kroah-Hartman <[email protected]>2007-07-19 17:46:04 -0700
commit195af2cce5ff81c4609c7ba585b6698a7771cbfc (patch)
treed5367fb5a16f6b0403e91d75aa3cc4c4ba05adfd /tools/perf/scripts/python/netdev-times.py
parent69d42a78f935d19384d1f6e4f94b65bb162b36df (diff)
USB: fix warning caused by autosuspend counter going negative
This patch (as937) fixes a minor bug in the autosuspend usage-counting code. Each hub's usage counter keeps track of the number of unsuspended children. However the current driver increments the counter after registering a new child, by which time the child may already have been suspended and caused the counter to go negative. The obvious solution is to increment the counter before registering the child. Signed-off-by: Alan Stern <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions