summaryrefslogtreecommitdiff
path: root/include/asm-um/thread_info.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-07-16 19:28:19 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-20 00:46:04 (GMT)
commit195af2cce5ff81c4609c7ba585b6698a7771cbfc (patch)
treed5367fb5a16f6b0403e91d75aa3cc4c4ba05adfd /include/asm-um/thread_info.h
parent69d42a78f935d19384d1f6e4f94b65bb162b36df (diff)
downloadlinux-195af2cce5ff81c4609c7ba585b6698a7771cbfc.tar.xz
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 <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-um/thread_info.h')
0 files changed, 0 insertions, 0 deletions