summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Jonsson <jonas@ludd.ltu.se>2015-11-22 11:47:18 +0100
committerJohan Hovold <johan@kernel.org>2015-11-23 10:32:59 +0100
commita0e80fbd56b4573de997c9a088a33abbc1121400 (patch)
tree6964d880b85fa6650584a5e65d5fd5dfccd5a2a9
parentf33a7f72e5fc033daccbb8d4753d7c5c41a4d67b (diff)
downloadlinux-stable-a0e80fbd56b4573de997c9a088a33abbc1121400.tar.gz
linux-stable-a0e80fbd56b4573de997c9a088a33abbc1121400.tar.bz2
linux-stable-a0e80fbd56b4573de997c9a088a33abbc1121400.zip
USB: serial: Another Infineon flash loader USB ID
The flash loader has been seen on a Telit UE910 modem. The flash loader is a bit special, it presents both an ACM and CDC Data interface but only the latter is useful. Unless a magic string is sent to the device it will disappear and the regular modem device appears instead. Signed-off-by: Jonas Jonsson <jonas@ludd.ltu.se> Tested-by: Daniele Palmas <dnlplm@gmail.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
-rw-r--r--drivers/usb/serial/usb-serial-simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c
index 3658662898fc..a204782ae530 100644
--- a/drivers/usb/serial/usb-serial-simple.c
+++ b/drivers/usb/serial/usb-serial-simple.c
@@ -53,6 +53,7 @@ DEVICE(funsoft, FUNSOFT_IDS);
/* Infineon Flashloader driver */
#define FLASHLOADER_IDS() \
+ { USB_DEVICE_INTERFACE_CLASS(0x058b, 0x0041, USB_CLASS_CDC_DATA) }, \
{ USB_DEVICE(0x8087, 0x0716) }
DEVICE(flashloader, FLASHLOADER_IDS);