summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPuliang Lu <puliang.lu@fibocom.com>2023-10-26 20:35:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-08 08:41:59 +0100
commitb1bf3cb8bba7500ba5e550e6df3010948559fe53 (patch)
treee65dd3d3d2920b06d39c2e7bd7959c334aba7604
parentf2294044a2c29fdad4da45065164c03dda5e6f6c (diff)
downloadlinux-stable-b1bf3cb8bba7500ba5e550e6df3010948559fe53.tar.gz
linux-stable-b1bf3cb8bba7500ba5e550e6df3010948559fe53.tar.bz2
linux-stable-b1bf3cb8bba7500ba5e550e6df3010948559fe53.zip
USB: serial: option: fix FM101R-GL defines
commit a1092619dd28ac0fcf23016160a2fdccd98ef935 upstream. Modify the definition of the two Fibocom FM101R-GL PID macros, which had their PIDs switched. The correct PIDs are: - VID:PID 413C:8213, FM101R-GL ESIM are laptop M.2 cards (with MBIM interfaces for Linux) - VID:PID 413C:8215, FM101R-GL are laptop M.2 cards (with MBIM interface for Linux) 0x8213: mbim, tty 0x8215: mbim, tty Signed-off-by: Puliang Lu <puliang.lu@fibocom.com> Fixes: 52480e1f1a25 ("USB: serial: option: add Fibocom to DELL custom modem FM101R-GL") Link: https://lore.kernel.org/lkml/TYZPR02MB508845BAD7936A62A105CE5D89DFA@TYZPR02MB5088.apcprd02.prod.outlook.com/ Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 9829d762f146..6882227f5ae5 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -206,8 +206,8 @@ static void option_instat_callback(struct urb *urb);
#define DELL_PRODUCT_5829E_ESIM 0x81e4
#define DELL_PRODUCT_5829E 0x81e6
-#define DELL_PRODUCT_FM101R 0x8213
-#define DELL_PRODUCT_FM101R_ESIM 0x8215
+#define DELL_PRODUCT_FM101R_ESIM 0x8213
+#define DELL_PRODUCT_FM101R 0x8215
#define KYOCERA_VENDOR_ID 0x0c88
#define KYOCERA_PRODUCT_KPC650 0x17da