USB: storage: optimize to match the Huawei USB storage devices and support new switch...
authorfangxiaozhi <huananhu@huawei.com>
Mon, 4 Feb 2013 07:16:34 +0000 (15:16 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 03:15:25 +0000 (03:15 +0000)
commit011dcf0ccf703c6a5b49c789833d1c9a28d47406
tree7d845a05bcc479c19743604edecb78f51b7b9e3b
parent19c72d766156d20221dc399ebaf27fad2251e4ce
USB: storage: optimize to match the Huawei USB storage devices and support new switch command

commit 200e0d994d9d1919b28c87f1a5fb99a8e13b8a0f upstream.

1. Optimize the match rules with new macro for Huawei USB storage devices,
   to avoid to load USB storage driver for the modem interface
   with Huawei devices.
2. Add to support new switch command for new Huawei USB dongles.

Signed-off-by: fangxiaozhi <huananhu@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/storage/initializers.c
drivers/usb/storage/initializers.h
drivers/usb/storage/unusual_devs.h