Re: [PATCH] usb: core: add quirk for Alcor Link AK9563 smartcard reader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 08, 2023 at 09:46:48AM -0500, Mark Pearson wrote:
> 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 <mzatko@xxxxxxxxxxxx>
> Tested-by: Dennis Wassenberg <dennis.wassenberg@xxxxxxxxxxx>
> 
> Cc: stable@xxxxxxxxxxxxxxx
> 
> Signed-off-by: Dennis Wassenberg <dennis.wassenberg@xxxxxxxxxxx>
> Signed-off-by: Mark Pearson <mpearson-lenovo@xxxxxxxxx>

No blank lines needed between tested-by and cc: stable.

> ---
>  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 079e183cf3bf..9b1c56646ac5 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -535,6 +535,9 @@ static const struct usb_device_id usb_quirk_list[] = {
>  	/* INTEL VALUE SSD */
>  	{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
>  
> +	/* Alcor Link AK9563 SC Reader used in 2022 Lenovo ThinkPads */
> +	{ USB_DEVICE(0x2ce3, 0x9563), .driver_info = USB_QUIRK_NO_LPM },

Please follow the instructions in the comment right above this structure
definition for where to put the entry in the list.

thanks,

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux