build/patch/kernel/archive/sunxi-6.5/patches.megous/usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch

31 lines
938 B
Diff
Raw Normal View History

From 4b0c92b61531f320838a7f7cc7c8bfa3d554b979 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Thu, 18 Feb 2021 07:48:07 +0100
Subject: [PATCH 174/464] usb: quirks: Add USB_QUIRK_RESET for Quectel EG25G
Modem
See: https://gitlab.com/mobian1/devices/eg25-manager/-/merge_requests/5
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
drivers/usb/core/quirks.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 15e9bd180a1d..7e42d7322e7f 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -542,6 +542,9 @@ static const struct usb_device_id usb_quirk_list[] = {
/* INTEL VALUE SSD */
{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
+ /* Quectel EG25G Modem */
+ { USB_DEVICE(0x2c7c, 0x0125), .driver_info = USB_QUIRK_RESET },
+
{ } /* terminating entry must be last */
};
--
2.34.1