mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
e64564920a
Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 61338e27e2eef3bfcd3df5c39cec5b9dc10ba25c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz>
|
|
Date: Sun, 23 Feb 2020 22:08:25 +0100
|
|
Subject: [PATCH] iio: chemical: sps30: fix missing triggered buffer dependency
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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(+)
|
|
|
|
--- a/drivers/iio/chemical/Kconfig
|
|
+++ b/drivers/iio/chemical/Kconfig
|
|
@@ -65,6 +65,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.
|