aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-10-11 16:47:36 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:35 -0700
commitd1aa3e6aa8edfeb864af7c930523d9e588b28bea (patch)
tree1ad0e6ead73cccc43dd1c1997aabb25acb4970d2 /arch/blackfin
parentatmel_usba_udc: Keep track of the device status (diff)
downloadlinux-dev-d1aa3e6aa8edfeb864af7c930523d9e588b28bea.tar.xz
linux-dev-d1aa3e6aa8edfeb864af7c930523d9e588b28bea.zip
USB: fix race in autosuspend reschedule
This patch (as1002) fixes a small race which can occur when a driver expects usbcore to reschedule an autosuspend request. If the request arrives too late, it won't be rescheduled. The patch adds an extra argument to autosuspend_check(), indicating that a reschedule is needed no matter how much time has elapsed. It also tries to avoid letting asynchronous changes to the value of jiffies cause a delay to become negative, by caching a local copy of the current time. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions