Re: [PATCH v3] Fix missing PCI ID; Necessary for Lenovo Yoga 720-15 Touchpad.

From: Daniel Axtens
Date: Tue Aug 15 2017 - 20:48:52 EST


Hi all,

This has worked its way from a pull request on GitHub through to this
patch, which is a great credit to the determination and effort of
Florian.

I think it's an excellent first contribution.

Reviewed-by: Daniel Axtens <dja@xxxxxxxxxx>

Regards,
Daniel

Hoeze <git.ich@xxxxxxxxxxxxxxxxx> writes:

> From: Hoeze <Hoeze@xxxxxxxxxxxxxxxxxxxxxxxx>
>
> This patch adds a missing PCI ID to the Intel LPSS driver.
> It fixes a bug causing the touchpad of the Lenovo Yoga 720-15 not to be recognized.
> See also bug 1700657 on bugs.launchpad.net.
>
> Many thanks to CoolStar, who found this solution!
>
> Reported-by: CoolStar <coolstarorganization@xxxxxxxxx>
> Tested-by: Mike Schwartz <mykesx@xxxxxxxxx>
> Tested-by: BjÃrn Dahlgren <bjodah@xxxxxxxxx>
> Signed-off-by: Florian R. HÃlzlwimmer <git.ich@xxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/intel-lpss-pci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
> index ad388bb0..d1c46de8 100644
> --- a/drivers/mfd/intel-lpss-pci.c
> +++ b/drivers/mfd/intel-lpss-pci.c
> @@ -221,6 +221,7 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
> { PCI_VDEVICE(INTEL, 0xa12a), (kernel_ulong_t)&spt_info },
> { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
> { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
> + { PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_i2c_info },
> { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
> /* KBL-H */
> { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&spt_uart_info },
> --
> 2.14.1