aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-07-29 15:46:03 +0200
committerSasha Levin <sasha.levin@oracle.com>2015-10-27 22:14:56 -0400
commitc735802ffff335a033b1fba5efd26d778d7b43d6 (patch)
tree8f21e3ff50290d451cda4414af3777783081fa1e
parentd9a1133495b487154ac351cd33b26b416e966d2d (diff)
downloadlinux-linaro-stable-c735802ffff335a033b1fba5efd26d778d7b43d6.tar.gz
Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required"
[ Upstream commit HEAD ] This reverts commit 279c039ca63acbd69e69d6d7ddfed50346fb2185 which was commit 06d2f6ca5a38abe92f1f3a132b331eee773868c3 upstream as it should not have been applied. Reported-by: Luis Henriques <luis.henriques@canonical.com> Cc: Markus Pargmann <mpa@pengutronix.de> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 934d9b907aeec5f344ca801ed7361551199dfc69) Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-rw-r--r--drivers/iio/gyro/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig
index 18e27d637854..b3d0e94f72eb 100644
--- a/drivers/iio/gyro/Kconfig
+++ b/drivers/iio/gyro/Kconfig
@@ -104,8 +104,7 @@ config IIO_ST_GYRO_SPI_3AXIS
config ITG3200
tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
depends on I2C
- select IIO_BUFFER
- select IIO_TRIGGERED_BUFFER
+ select IIO_TRIGGERED_BUFFER if IIO_BUFFER
help
Say yes here to add support for the InvenSense ITG3200 digital
3-axis gyroscope sensor.