[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200301142407.0e63f6dc@archlinux>
Date: Sun, 1 Mar 2020 14:24:07 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Petr Štetiar <ynezz@...e.cz>
Cc: Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Tomasz Duszynski <tduszyns@...il.com>, stable@...r.kernel.org,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: chemical: sps30: fix missing triggered buffer
dependency
On Thu, 27 Feb 2020 17:27:34 +0100
Petr Štetiar <ynezz@...e.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@...r.kernel.org
> Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
> Signed-off-by: Petr Štetiar <ynezz@...e.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.
Powered by blists - more mailing lists