]> git.hungrycats.org Git - linux/commitdiff
USB: serial: Another Infineon flash loader USB ID
authorJonas Jonsson <jonas@ludd.ltu.se>
Sun, 22 Nov 2015 10:47:18 +0000 (11:47 +0100)
committerJiri Slaby <jslaby@suse.cz>
Tue, 5 Jan 2016 16:48:51 +0000 (17:48 +0100)
commit a0e80fbd56b4573de997c9a088a33abbc1121400 upstream.

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>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/serial/usb-serial-simple.c

index cc61d3781c21b64841cd7cc0837e3f3a5456e01f..13630428700e83e6b63889bc27f1ee1ae591c289 100644 (file)
@@ -48,6 +48,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);