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

31 lines
932 B
Diff

From 59f502ec4ce115b5e0236c99130ac3a30534a4f4 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 163/388] 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 934b3d997..f681693f4 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -538,6 +538,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.35.3