Am Mittwoch, 19. Mai 2004 02:29 schrieb Greg KH:
> On Tue, May 18, 2004 at 09:20:40AM +0200, Oliver Neukum wrote:
> > Am Dienstag, 18. Mai 2004 02:37 schrieb David Brownell:
> > > >>this purges wait_ms() from ehci.
> > > > 
> > > > David, look sane?
> > > 
> > > I'd rather have a patch that covered msec_delay() too;
> > > how about an updated version?
> > 
> > Here you are. It's an additional change set.
> 
> Based on my msleep patches, can you redo this one and your other ones I
> haven't applied yet?

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");

===================================================================


This BitKeeper patch contains the following changesets:
1.1753
## Wrapped with gzip_uu ##


M'XL( ,)FJT   [V4;VO;,!#&7T>?0M W&\7VG2SYW\C(UHYM;+"0M:_&7JCV
M-2ZQK2 I+05_^"D)M!ME)!NEML'8]]QQS]T/G?!+1[::F.[FEBP[X9^,\]6D
MU_45^38>:+/:]+&QRQ!:&!-"26MZ2O;ZY,(2N61I:2DR%B1S[>N6AXBK)ABG
M#W_\_9JJR>+#Q\NO[Q:,3:?\K-7#DKZ3Y],I\\;>ZJYQ,^W;[EMAIL PROTECTED]/7D=
MUZ8?'Z2C !#A5IBGH+(1,Y#Y6&.#J"52 T(6F63;=F8K:W3[-%V&Y$*D*H-L
M%%GX8N<<8\Q5RD$FH!(L.:[EMAIL PROTECTED]@.^MSIZ.A)\BCX"]Y\_;_AFK><2=
MOB;N.J(U;ZE;A]U\X4*IM&#SQ]FQZ!\OQD #>[EMAIL PROTECTED]';MDXZX2%Z1Z2<E.
ML3;6Q_5O/B1@/HI20CDVM4 D0>JZ:*10S=_G=DS][9Y*3&4>[EMAIL PROTECTED]'S8'$
[EMAIL PROTECTED]/6-ZVV?12*S,Q [EMAIL PROTECTED](]29")%D!A85,6>Q;+\
[EMAIL PROTECTED] >1:)X21)W*_G&(WNW>P)9\T/;^0]8SQ%1<<$^AW?&D4WZ71^O,@!X
;_>;QP*E;JE=NTT^%+H3*FX+] J,<(J+8!   


-------------------------------------------------------
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

Reply via email to