USB: usb-storage fails to attach to Huawei Datacard cdrom device
commitd0defb855c8504c49b92bdc0203689ce9b4cf7ba
authorfangxiaozhi <huananhu@huawei.com>
Fri, 7 Aug 2009 04:30:35 +0000 (7 12:30 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:32 +0000 (23 06:46 -0700)
treeec2481026c955a7ad20be3b306c0e4fb5040775b
parent5128a66c6605d8178f69b7a8f2a70060933a26b4
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>
drivers/usb/storage/initializers.c