]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: usb-storage fails to attach to Huawei Datacard cdrom device
authorfangxiaozhi <huananhu@huawei.com>
Fri, 7 Aug 2009 04:30:35 +0000 (12:30 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:01 +0000 (09:32 -0700)
commitb7c8b54df8c2a82757d8aab48aaac198a49e2ff9
tree1b1776225aa61b5eb9316dd6ba9ddd362f0c8d30
parent68eeb516062536e6877a5e0dc890235157dfe745
USB: usb-storage fails to attach to Huawei Datacard cdrom device

commit d0defb855c8504c49b92bdc0203689ce9b4cf7ba upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/initializers.c