]> git.baikalelectronics.ru Git - kernel.git/commit
USB: update last_busy field correctly
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 20 Aug 2007 16:18:39 +0000 (12:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:59 +0000 (14:27 -0700)
commite6e2ebced039cb4a3d9ba40a7d0e5fb7cd9e21b0
tree00958fc6d3fbaeafa52c252b123e41b53a6b6322
parent247c02a6eeb7552503b6bdaff5488343059dc346
USB: update last_busy field correctly

This patch (as966) fixes a bug in the autosuspend code.  The last_busy
field should be updated whenever any event occurs, not just events
that cause an autosuspend or an autoresume.

This partially fixes Bugzilla #8892.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c