ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
authorKai Heng Feng <kai.heng.feng@canonical.com>
Mon, 5 Feb 2018 05:19:24 +0000 (13:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:26 +0000 (22:41 -0800)
commitb2190cc3918443604730dfe3c7b16f684c3ff72f
tree56b9321d6e53c33cbf6fd3dc3469f8451265a433
parentb95f8ca8d71987199de1f072fd11fa562150489c
ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530

commit 36904703aeeeb6cd31993f1353c8325006229f9a upstream.

The i2c touchpad on Dell XPS 9570 and Precision M5530 doesn't work out
of box.

The touchpad relies on its _INI method to update its _HID value from
XXXX0000 to SYNA2393.

Also, the _STA relies on value of I2CN to report correct status.

Set acpi_gbl_parse_table_as_term_list so the value of I2CN can be
correctly set up, and _INI can get run. The ACPI table in this machine
is designed to get parsed this way.

Also, change the quirk table to a more generic name.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=198515
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/bus.c