On Wed, 19 May 2004, Oliver Neukum wrote: > Here's one you overlooked. > > Regards > Oliver > > You can import this changeset into BK by piping this whole message to: > '| bk receive [path to repository]' or apply the patch as usual. > > =================================================================== > > > [EMAIL PROTECTED], 2004-05-19 15:51:24+02:00, [EMAIL PROTECTED] > - safe sleep helper > > > transport.c | 3 +-- > 1 files changed, 1 insertion(+), 2 deletions(-) > > > diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c > --- a/drivers/usb/storage/transport.c Wed May 19 15:53:06 2004 > +++ b/drivers/usb/storage/transport.c Wed May 19 15:53:06 2004 > @@ -1112,8 +1112,7 @@ > > /* long wait for reset, so unlock to allow disconnects */ > up(&us->dev_semaphore); > - set_current_state(TASK_UNINTERRUPTIBLE); > - schedule_timeout(HZ*6); > + msleep(6000); > down(&us->dev_semaphore); > if (test_bit(US_FLIDX_DISCONNECTING, &us->flags)) { > US_DEBUGP("Reset interrupted by disconnect\n");
Please don't apply this change. It conflicts with a patch I sent to Matt Dharm yesterday. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel