Message ID | 20171101163001.12388-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 2017-11-01 at 18:30 +0200, Andy Shevchenko wrote: > 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. > > Fixes: 4193c0f1d863 ("iio: driver for Semtech SX9500 proximity > solution") > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > drivers/iio/proximity/sx9500.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/proximity/sx9500.c > b/drivers/iio/proximity/sx9500.c > index 53c5d653e780..8f417ccacf22 100644 > --- a/drivers/iio/proximity/sx9500.c > +++ b/drivers/iio/proximity/sx9500.c > @@ -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);
diff --git a/drivers/iio/proximity/sx9500.c b/drivers/iio/proximity/sx9500.c index 53c5d653e780..8f417ccacf22 100644 --- a/drivers/iio/proximity/sx9500.c +++ b/drivers/iio/proximity/sx9500.c @@ -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);
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 <andriy.shevchenko@linux.intel.com> --- drivers/iio/proximity/sx9500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)