From c28e72ae859f08a387779261b0efff5d73823665 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 13 Feb 2023 12:37:46 +0100 Subject: [PATCH] 4.14-stable patches added patches: usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch --- queue-4.14/series | 1 + ...r-alcor-link-ak9563-smartcard-reader.patch | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 queue-4.14/usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch diff --git a/queue-4.14/series b/queue-4.14/series index 4467dfabf28..3460f36130e 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -29,3 +29,4 @@ alsa-pci-lx6464es-fix-a-debug-loop.patch pinctrl-aspeed-fix-confusing-types-in-return-value.patch pinctrl-single-fix-potential-null-dereference.patch net-usb-fix-wrong-direction-warning-in-plusb.c.patch +usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch diff --git a/queue-4.14/usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch b/queue-4.14/usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch new file mode 100644 index 00000000000..e45196af1e5 --- /dev/null +++ b/queue-4.14/usb-core-add-quirk-for-alcor-link-ak9563-smartcard-reader.patch @@ -0,0 +1,38 @@ +From 303e724d7b1e1a0a93daf0b1ab5f7c4f53543b34 Mon Sep 17 00:00:00 2001 +From: Mark Pearson +Date: Wed, 8 Feb 2023 13:12:23 -0500 +Subject: usb: core: add quirk for Alcor Link AK9563 smartcard reader + +From: Mark Pearson + +commit 303e724d7b1e1a0a93daf0b1ab5f7c4f53543b34 upstream. + +The Alcor Link AK9563 smartcard reader used on some Lenovo platforms +doesn't work. If LPM is enabled the reader will provide an invalid +usb config descriptor. Added quirk to disable LPM. + +Verified fix on Lenovo P16 G1 and T14 G3 + +Tested-by: Miroslav Zatko +Tested-by: Dennis Wassenberg +Cc: stable@vger.kernel.org +Signed-off-by: Dennis Wassenberg +Signed-off-by: Mark Pearson +Link: https://lore.kernel.org/r/20230208181223.1092654-1-mpearson-lenovo@squebb.ca +Signed-off-by: Greg Kroah-Hartman +--- + drivers/usb/core/quirks.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/usb/core/quirks.c ++++ b/drivers/usb/core/quirks.c +@@ -340,6 +340,9 @@ static const struct usb_device_id usb_qu + /* DJI CineSSD */ + { USB_DEVICE(0x2ca3, 0x0031), .driver_info = USB_QUIRK_NO_LPM }, + ++ /* Alcor Link AK9563 SC Reader used in 2022 Lenovo ThinkPads */ ++ { USB_DEVICE(0x2ce3, 0x9563), .driver_info = USB_QUIRK_NO_LPM }, ++ + /* DELL USB GEN2 */ + { USB_DEVICE(0x413c, 0xb062), .driver_info = USB_QUIRK_NO_LPM | USB_QUIRK_RESET_RESUME }, + -- 2.47.2