* [PATCH] iio: chemical: sps30: fix missing triggered buffer dependency
@ 2020-02-27 16:27 Petr Štetiar
2020-03-01 14:24 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Petr Štetiar @ 2020-02-27 16:27 UTC (permalink / raw)
To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, Tomasz Duszynski
Cc: Petr Štetiar, stable, Jonathan Cameron, linux-iio,
linux-kernel
SPS30 uses triggered buffer, but the dependency is not specified in the
Kconfig file. Fix this by selecting IIO_BUFFER and IIO_TRIGGERED_BUFFER
config symbols.
Cc: stable@vger.kernel.org
Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
drivers/iio/chemical/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index 0b91de4df8f4..a7e65a59bf42 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -91,6 +91,8 @@ config SPS30
tristate "SPS30 particulate matter sensor"
depends on I2C
select CRC8
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say Y here to build support for the Sensirion SPS30 particulate
matter sensor.
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] iio: chemical: sps30: fix missing triggered buffer dependency
2020-02-27 16:27 [PATCH] iio: chemical: sps30: fix missing triggered buffer dependency Petr Štetiar
@ 2020-03-01 14:24 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-03-01 14:24 UTC (permalink / raw)
To: Petr Štetiar
Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
Tomasz Duszynski, stable, Jonathan Cameron, linux-iio,
linux-kernel
On Thu, 27 Feb 2020 17:27:34 +0100
Petr Štetiar <ynezz@true.cz> wrote:
> SPS30 uses triggered buffer, but the dependency is not specified in the
> Kconfig file. Fix this by selecting IIO_BUFFER and IIO_TRIGGERED_BUFFER
> config symbols.
>
> Cc: stable@vger.kernel.org
> Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
> Signed-off-by: Petr Štetiar <ynezz@true.cz>
Applied to the fixes-togreg branch of iio.git.
Thanks,
Jonathan
> ---
> drivers/iio/chemical/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
> index 0b91de4df8f4..a7e65a59bf42 100644
> --- a/drivers/iio/chemical/Kconfig
> +++ b/drivers/iio/chemical/Kconfig
> @@ -91,6 +91,8 @@ config SPS30
> tristate "SPS30 particulate matter sensor"
> depends on I2C
> select CRC8
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say Y here to build support for the Sensirion SPS30 particulate
> matter sensor.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-01 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-27 16:27 [PATCH] iio: chemical: sps30: fix missing triggered buffer dependency Petr Štetiar
2020-03-01 14:24 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).