]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 11 Jan 2016 10:50:15 +0000 (10:50 +0000)
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: Luis Henriques <luis.henriques@canonical.com>
drivers/usb/serial/usb-serial-simple.c

index e5ad1ee6cb5f2c43e7c3dcf5564198a96a7177a1..5c19d3e7b4b8c8dc483d872f45a64152a2536d62 100644 (file)
@@ -47,6 +47,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);