Re: [PATCH v8 1/3] extcon: axp288: Switch to new Intel CPU model defines
From: Chanwoo Choi
Date: Wed Sep 04 2024 - 11:19:46 EST
24. 9. 4. 02:34에 Tony Luck 이(가) 쓴 글:
> New CPU #defines encode vendor and family as well as model.
>
> Link: https://lore.kernel.org/lkml/20240611174016.352953-1-tony.luck@xxxxxxxxx/
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> ---
> drivers/extcon/extcon-axp288.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-axp288.c b/drivers/extcon/extcon-axp288.c
> index a703a8315634..d3bcbe839c09 100644
> --- a/drivers/extcon/extcon-axp288.c
> +++ b/drivers/extcon/extcon-axp288.c
> @@ -108,7 +108,7 @@ struct axp288_extcon_info {
> };
>
> static const struct x86_cpu_id cherry_trail_cpu_ids[] = {
> - X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT, NULL),
> + X86_MATCH_VFM(INTEL_ATOM_AIRMONT, NULL),
> {}
> };
>
Applied it.
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git/commit/?h=extcon-next&id=089a6e37c5394bc22d34c0c22b14a31b897b5831
--
Best Regards,
Samsung Electronics
Chanwoo Choi