* [PATCH v1] iio: proximity: sx9500: Fix typo in ACPI ID
@ 2017-11-01 16:30 Andy Shevchenko
2017-11-01 16:42 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2017-11-01 16:30 UTC (permalink / raw)
To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, linux-iio
Cc: 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.
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);
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] iio: proximity: sx9500: Fix typo in ACPI ID
2017-11-01 16:30 [PATCH v1] iio: proximity: sx9500: Fix typo in ACPI ID Andy Shevchenko
@ 2017-11-01 16:42 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2017-11-01 16:42 UTC (permalink / raw)
To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, linux-iio
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);
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-01 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 16:30 [PATCH v1] iio: proximity: sx9500: Fix typo in ACPI ID Andy Shevchenko
2017-11-01 16:42 ` Andy Shevchenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.