]> err.no Git - linux-2.6/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)
commit013d27f265de6934ad7fb48fb29ab0172a20ab40
tree00958fc6d3fbaeafa52c252b123e41b53a6b6322
parent85237f202d46d55c1bffe0c5b1aa3ddc0f1dce4d
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