diff mbox series

[1/1,SRU,Zesty] mfd: intel-lpss: Add missing PCI ID for Intel Sunrise Point LPSS devices

Message ID 20171002063054.19240-2-kai.heng.feng@canonical.com
State New
Headers show
Series [1/1,SRU,Zesty] mfd: intel-lpss: Add missing PCI ID for Intel Sunrise Point LPSS devices | expand

Commit Message

Kai-Heng Feng Oct. 2, 2017, 6:30 a.m. UTC
From: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>

BugLink: https://bugs.launchpad.net/bugs/1700657

This patch adds a missing PCI ID of the Intel Sunrise Point chipset 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@gmail.com>
Tested-by: Mike Schwartz <mykesx@gmail.com>
Tested-by: Björn Dahlgren <bjodah@gmail.com>
Signed-off-by: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
(cherry picked from commit e4b91470bd79b988253ec00590e5b554042af4a7)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/mfd/intel-lpss-pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Bader Oct. 5, 2017, 6:45 a.m. UTC | #1
On 02.10.2017 08:30, Kai-Heng Feng wrote:
> From: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
> 
> BugLink: https://bugs.launchpad.net/bugs/1700657
> 
> This patch adds a missing PCI ID of the Intel Sunrise Point chipset 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@gmail.com>
> Tested-by: Mike Schwartz <mykesx@gmail.com>
> Tested-by: Björn Dahlgren <bjodah@gmail.com>
> Signed-off-by: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> (cherry picked from commit e4b91470bd79b988253ec00590e5b554042af4a7)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>

> ---
>  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 16ffeaeb1385..250fb4eb526b 100644
> --- a/drivers/mfd/intel-lpss-pci.c
> +++ b/drivers/mfd/intel-lpss-pci.c
> @@ -208,6 +208,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 },
>
Kleber Sacilotto de Souza Oct. 5, 2017, 8:45 a.m. UTC | #2
On 10/02/2017 08:30 AM, Kai-Heng Feng wrote:
> From: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
>
> BugLink: https://bugs.launchpad.net/bugs/1700657
>
> This patch adds a missing PCI ID of the Intel Sunrise Point chipset 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@gmail.com>
> Tested-by: Mike Schwartz <mykesx@gmail.com>
> Tested-by: Björn Dahlgren <bjodah@gmail.com>
> Signed-off-by: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> (cherry picked from commit e4b91470bd79b988253ec00590e5b554042af4a7)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Clean cherry-pick, trivial change and positive test results.

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

> ---
>  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 16ffeaeb1385..250fb4eb526b 100644
> --- a/drivers/mfd/intel-lpss-pci.c
> +++ b/drivers/mfd/intel-lpss-pci.c
> @@ -208,6 +208,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 },
>
Thadeu Lima de Souza Cascardo Oct. 9, 2017, 7:42 p.m. UTC | #3
Applied to zesty master-next branch.

Thanks.
Cascardo.

Applied-to: zesty/master-next
diff mbox series

Patch

diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index 16ffeaeb1385..250fb4eb526b 100644
--- a/drivers/mfd/intel-lpss-pci.c
+++ b/drivers/mfd/intel-lpss-pci.c
@@ -208,6 +208,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 },