[PATCH ipaq.c 3/3] smartphone patch

Andre Spahlinger <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Solve nonzero read bulk status received problem which happens with some
smartphones. This patch is from the synce project.

diff -uprN a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
--- a/drivers/usb/serial/ipaq.c    Tue Feb 20 06:34:32 2007
+++ b/drivers/usb/serial/ipaq.c    Fri Feb 23 09:52:01 2007
@@ -930,7 +930,7 @@ static int ipaq_startup(struct usb_seria
             serial->dev->actconfig->desc.bConfigurationValue);
         return -ENODEV;
     }
-    return usb_reset_configuration (serial->dev);
+    return 0;
 }
 
 static void ipaq_shutdown(struct usb_serial *serial)

Signed-off-by: Andre Spahlinger <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.