diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2017-07-28 17:42:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-30 10:26:42 +0200 |
commit | 6e80b88a7f7dffa0340236ca420357295319c150 (patch) | |
tree | 9fae385646d8a07ac48a3bdda07687d014dd3aaa | |
parent | 49fa8c02e4a6359f5c13ce14ee9a79d53e1865ff (diff) | |
download | linux-stable-6e80b88a7f7dffa0340236ca420357295319c150.tar.gz linux-stable-6e80b88a7f7dffa0340236ca420357295319c150.tar.bz2 linux-stable-6e80b88a7f7dffa0340236ca420357295319c150.zip |
ACPI: APD: Fix HID for Hisilicon Hip07/08
commit f7f3dd5b4cbb138ed4559b0d096bab76a8f476de upstream.
ACPI HID for Hisilicon Hip07/08 should be HISI02A1/2,
not HISI0A21/2, HISI02A1/2 was tested ok but was modified
by the stupid typo when upstream the patches (by me),
correct them to the right IDs (matching the IDs in
drivers/i2c/busses/i2c-designware-platdrv.c).
Fixes: 6e14cf361a0c (ACPI / APD: Add clock frequency for Hisilicon Hip07/08 I2C controller)
Reported-by: Tao Tian <tiantao6@huawei.com>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/acpi/acpi_apd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index fc6c416f8724..d5999eb41c00 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -180,8 +180,8 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { { "APMC0D0F", APD_ADDR(xgene_i2c_desc) }, { "BRCM900D", APD_ADDR(vulcan_spi_desc) }, { "CAV900D", APD_ADDR(vulcan_spi_desc) }, - { "HISI0A21", APD_ADDR(hip07_i2c_desc) }, - { "HISI0A22", APD_ADDR(hip08_i2c_desc) }, + { "HISI02A1", APD_ADDR(hip07_i2c_desc) }, + { "HISI02A2", APD_ADDR(hip08_i2c_desc) }, #endif { } }; |