Skip to contentSkip to conversation

ACPI: APD: Fix HID for Hisilicon Hip07/08

PATCH Applied Hanjun Guo 2 participants 2 messages Jul 28, 2017 – Aug 1, 2017 ACPI

lore
Share & tools
lore

Hanjun Guo

author
#0 lore raw

PATCH 1/1 ACPI: APD: Fix HID for Hisilicon Hip07/08

From: Hanjun Guo <[email protected]>

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">
---
 drivers/acpi/acpi_apd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/acpi_apd.c +2 -2
index fc6c416..d5999eb 100644
@@ -180,8 +180,8 @@ static int acpi_apd_create_device(struct acpi_device *adev,
 	{ "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
 	{ }
 };
Signature · 1 line
1.7.12.4
#1 lore raw
Quoted 21 lines · Hanjun Guo

From: Hanjun Guo <[email protected]>

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">
---
 drivers/acpi/acpi_apd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/acpi_apd.c +0 -0
index fc6c416..d5999eb 100644

drivers/acpi/acpi_apd.c static int acpi_apd_create_device(struct acpi_device *adev, · line 187

Quoted 10 lines
drivers/acpi/acpi_apd.c +2 -2
@@ -180,8 +180,8 @@ static int acpi_apd_create_device(struct acpi_device *adev,
 	{ "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
 	{ }
 };

Applied, thanks!