Re: [PATCH 1/1 V2] Add Lenovo Yoga 7 14ACN6 to ec_trigger_quirk_dmi_table

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

 



Hi Swapnil,

Thank you for the patch.

On Fri, 2023-08-18 at 07:26 +0530, Swapnil Devesh wrote:
> This adds my laptop Lenovo Yoga 7 14ACN6, with Product Name: 82N7 (from `dmidecode -t1 | grep "Product Name"`) to the ec_trigger_quirk_dmi_table, have tested that this is required for the YMC driver to work correctly on this model.
> 
> Sending again as V2 from the mail that is signing off on this and the previous push had the tabs removed messing up the formatting of the patch.
> 
> Thanks to Gergo, the author of the Lenovo YMC driver for guiding this.
> 
> Signed-off-by: Swapnil Devesh <me@xxxxxxxxxxxx>
> ---
>  drivers/platform/x86/lenovo-ymc.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/platform/x86/lenovo-ymc.c b/drivers/platform/x86/lenovo-ymc.c
> index 41676188b373..7d38151a5b27 100644
> --- a/drivers/platform/x86/lenovo-ymc.c
> +++ b/drivers/platform/x86/lenovo-ymc.c
> @@ -32,6 +32,13 @@ static const struct dmi_system_id ec_trigger_quirk_dmi_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "82QF"),
>  		},
>  	},
> +	{
> +		/* Lenovo Yoga 7 14ACN6 */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "82N7"),
> +		},
> +	},
>  	{ }
>  };
> 

Could you add "platform/x86: lenovo-ymc:" to the subject?
Otherwise looks good to me:

Reviewed-by: Gergő Köteles <soyer@xxxxxx>

Regards,
Gergő




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux