On Mon, 9 Jul 2007, Oliver Neukum wrote:
> Am Freitag, 6. Juli 2007 schrieb Alan Stern:
> > @@ -1028,6 +1039,7 @@ static int storage_probe(struct usb_inte
> > * start it up. */
> > scsi_host_get(us_to_host(us));
> > atomic_inc(&total_threads);
> > + usb_autopm_get_in
Am Freitag, 6. Juli 2007 schrieb Alan Stern:
> @@ -1028,6 +1039,7 @@ static int storage_probe(struct usb_inte
> * start it up. */
> scsi_host_get(us_to_host(us));
> atomic_inc(&total_threads);
> + usb_autopm_get_interface(intf); /* dropped in the scanning thread */
>
This patch (as930) implements autosuspend for usb-storage. It is
adapted from a patch by Oliver Neukum. Autosuspend is allowed except
during LUN scanning, resets, and command execution.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
The default autosuspend delay of 2 seconds is probably too