ChangeSet 1.1807.48.48, 2004/08/06 14:10:38-07:00, [EMAIL PROTECTED]

USB: fix up ub.c due to usb_endpoint_running() going away.

Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/block/ub.c |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)


diff -Nru a/drivers/block/ub.c b/drivers/block/ub.c
--- a/drivers/block/ub.c        2004-08-23 13:17:46 -07:00
+++ b/drivers/block/ub.c        2004-08-23 13:17:46 -07:00
@@ -875,9 +875,7 @@
                 * We ignore the result for the halt clear.
                 */
 
-               /* reset the toggles and endpoint flags */
-               usb_endpoint_running(sc->dev, usb_pipeendpoint(sc->last_pipe),
-                       usb_pipeout(sc->last_pipe));
+               /* reset the endpoint toggle */
                usb_settoggle(sc->dev, usb_pipeendpoint(sc->last_pipe),
                        usb_pipeout(sc->last_pipe), 0);
 
@@ -900,9 +898,7 @@
                 * We ignore the result for the halt clear.
                 */
 
-               /* reset the toggles and endpoint flags */
-               usb_endpoint_running(sc->dev, usb_pipeendpoint(sc->last_pipe),
-                       usb_pipeout(sc->last_pipe));
+               /* reset the endpoint toggle */
                usb_settoggle(sc->dev, usb_pipeendpoint(sc->last_pipe),
                        usb_pipeout(sc->last_pipe), 0);
 
@@ -1695,8 +1691,7 @@
 
        wait_for_completion(&compl);
 
-       /* reset the toggles and endpoint flags */
-       usb_endpoint_running(sc->dev, endp, usb_pipeout(sc->last_pipe));
+       /* reset the endpoint toggle */
        usb_settoggle(sc->dev, endp, usb_pipeout(sc->last_pipe), 0);
 
        return 0;



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to