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

31 lines
931 B
Diff

From 9909085cf8091c5a2542a9daf8b05e49ce674731 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Thu, 18 Feb 2021 07:48:07 +0100
Subject: [PATCH 293/478] 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 <megous@megous.com>
---
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 8239fe7129dd..423104ba8b7f 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -504,6 +504,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