Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: APD: Fix HID for Hisilicon Hip07/08

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>

authored by

Hanjun Guo and committed by
Rafael J. Wysocki
f7f3dd5b dd242a08

+2 -2
+2 -2
drivers/acpi/acpi_apd.c
··· 180 180 { "APMC0D0F", APD_ADDR(xgene_i2c_desc) }, 181 181 { "BRCM900D", APD_ADDR(vulcan_spi_desc) }, 182 182 { "CAV900D", APD_ADDR(vulcan_spi_desc) }, 183 - { "HISI0A21", APD_ADDR(hip07_i2c_desc) }, 184 - { "HISI0A22", APD_ADDR(hip08_i2c_desc) }, 183 + { "HISI02A1", APD_ADDR(hip07_i2c_desc) }, 184 + { "HISI02A2", APD_ADDR(hip08_i2c_desc) }, 185 185 #endif 186 186 { } 187 187 };