summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Jonsson <jonas@ludd.ltu.se>2015-11-22 11:47:18 +0100
committerSasha Levin <sasha.levin@oracle.com>2016-01-22 12:24:44 -0500
commitfc70c8a467f73028cd98a010b19a12be101d7dc2 (patch)
treeb61fbded3c265563f43f239e31bbf72d3b43da94
parent753c4e20b6630a6fe5e3a931e8b50855e122c757 (diff)
downloadlwn-fc70c8a467f73028cd98a010b19a12be101d7dc2.tar.gz
lwn-fc70c8a467f73028cd98a010b19a12be101d7dc2.zip
USB: serial: Another Infineon flash loader USB ID
[ Upstream commit a0e80fbd56b4573de997c9a088a33abbc1121400 ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-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 7064eb8d6142..a1f2e2a05bc5 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);