iio: proximity: sx9500: Fix typo in ACPI ID
PATCH 1/1 iio: proximity: sx9500: Fix typo in ACPI ID
It seems no one before even tried this device on Intel based platforms. I suddenly realized that there is a typo by a) looking into prototype hardware, and b) googling for both variants (current and proposed).
Thus, fix a typo in the driver to enable this sensor.
Fixes 4193c0f1d863 ("iio: driver for Semtech SX9500 proximity solution")
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/iio/proximity/sx9500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/proximity/sx9500.c +1 -1
@@ -1021,7 +1021,7 @@ static const struct dev_pm_ops sx9500_pm_ops = { };static const struct acpi_device_id sx9500_acpi_match[] = { - {"SSX9500" ,0 }, + {"SASX9500" ,0 }, { }, };MODULE_DEVICE_TABLE (acpi, sx9500_acpi_match);
Signature · 1 line
2.14.2
Quoted 6 lines · Andy Shevchenko
It seems no one before even tried this device on Intel based platforms.
I suddenly realized that there is a typo by a) looking into prototype hardware, and b) googling for both variants (current and proposed).Thus, fix a typo in the driver to enable this sensor.
I think to be on the safest side we may just add a new ID.
Quoted 22 lines
Fixes 4193c0f1d863 ("iio: driver for Semtech SX9500 proximitysolution")
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/iio/proximity/sx9500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/proximity/sx9500.c +1
-1@@ -1021,7 +1021,7 @@ static const struct dev_pm_ops sx9500_pm_ops = { };static const struct acpi_device_id sx9500_acpi_match[] = { - {"SSX9500" ,0 }, + {"SASX9500" ,0 }, { }, };MODULE_DEVICE_TABLE (acpi, sx9500_acpi_match);
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy