dect
/
linux-2.6
Archived
13
0
Fork 0

USB: usb-storage fails to attach to Huawei Datacard cdrom device

In this patch, we always make the return value of function
usb_stor_huawei_e220_init to be zero. Then it will not prevent usb-storage
driver from attaching to the CDROM device of Huawei Datacard.

Signed-off-by: fangxiaozhi <huananhu@huawei.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
fangxiaozhi 2009-08-07 12:30:35 +08:00 committed by Greg Kroah-Hartman
parent 5128a66c66
commit d0defb855c
1 changed files with 1 additions and 1 deletions

View File

@ -102,5 +102,5 @@ int usb_stor_huawei_e220_init(struct us_data *us)
USB_TYPE_STANDARD | USB_RECIP_DEVICE,
0x01, 0x0, NULL, 0x0, 1000);
US_DEBUGP("Huawei mode set result is %d\n", result);
return (result ? 0 : -ENODEV);
return 0;
}