diff options
| author | Bryan Wu <Bryan.Wu@analog.com> | 2009-01-01 19:48:07 -0500 | 
|---|---|---|
| committer | Remy Bohmer <linux@bohmer.net> | 2009-01-28 19:57:28 +0100 | 
| commit | 14e4111cdab7e7738ff6a203d445e4d8377f058f (patch) | |
| tree | cef10ab9a8c7b9da10512a2b1bc9b1a5af66a69e /common/usb_storage.c | |
| parent | 1eb734fed3b79a5e6106dad16e88041894fdab30 (diff) | |
| download | olio-uboot-2014.01-14e4111cdab7e7738ff6a203d445e4d8377f058f.tar.xz olio-uboot-2014.01-14e4111cdab7e7738ff6a203d445e4d8377f058f.zip | |
usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive
The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 000016244373FFB4
does not like to be reset, so check for it.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'common/usb_storage.c')
| -rw-r--r-- | common/usb_storage.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/common/usb_storage.c b/common/usb_storage.c index 973d82f7d..9ed629708 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -1235,6 +1235,13 @@ int usb_stor_get_info(struct usb_device *dev, struct us_data *ss,  	    /* SanDisk Corporation Cruzer Micro 20044318410546613953 */  	    (dev->descriptor.idVendor == 0x0781 &&  	     dev->descriptor.idProduct == 0x5151) +	    || +	    /* +	     * SanDisk Corporation U3 Cruzer Micro 1/4GB +	     * Flash Drive 000016244373FFB4 +	     */ +	    (dev->descriptor.idVendor == 0x0781 && +	     dev->descriptor.idProduct == 0x5406)  	    )  		USB_STOR_PRINTF("usb_stor_get_info: skipping RESET..\n");  	else |