iio: chemical: sps30: fix missing triggered buffer dependency
Subsystems (2)
PATCH 1/1 iio: chemical: sps30: fix missing triggered buffer dependency
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.
Fixes 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Signed-off-by Petr Štetiar <[email protected]>
--- drivers/iio/chemical/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/iio/chemical/Kconfig +2 -0
@@ -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.
Quoted 7 lines · On Thu, 27 Feb 2020 17:27:34 +0100 Petr Štetiar <[email protected]> wrote:
SPS30 uses triggered buffer, but the dependency is not specified in the
Kconfigfile. Fix this by selectingIIO_BUFFERandIIO_TRIGGERED_BUFFERconfig symbols.Fixes 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")Signed-off-by Petr Štetiar <[email protected]>
Applied to the fixes-togreg branch of iio.git.
Thanks,
Jonathan
Quoted 17 lines
--- drivers/iio/chemical/Kconfig | 2 ++ 1 file changed, 2 insertions(+)drivers/iio/chemical/Kconfig +2
-0@@ -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.