diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-04-05 20:03:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-23 06:45:49 (GMT) |
commit | ef7f6c7084b333c7524dcd297e0578d43733a2a2 (patch) | |
tree | 7c536304f8c98c0d25a583a3b15a80c1300fc614 /drivers/usb/storage/dpcm.c | |
parent | 4fe5354f61cad4c0550285283c83c66c070c198e (diff) | |
download | linux-fsl-qoriq-ef7f6c7084b333c7524dcd297e0578d43733a2a2.tar.xz |
USB: more autosuspend timer stuff
This patch (as879) ties up some loose ends from an earlier patch.
These are things I didn't think to include at the time but which
clearly belonged there.
If an autosuspend fails because driver activity races with
the autosuspend call, restart the autosuspend timer.
When a device is resumed by an external request, it counts
as device activity and should update the last_busy time so
that the next autoresume won't occur immediately.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/dpcm.c')
0 files changed, 0 insertions, 0 deletions