]> git.hungrycats.org Git - linux/commitdiff
Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required"
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 29 Jul 2015 13:46:03 +0000 (15:46 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 28 Oct 2015 02:14:56 +0000 (22:14 -0400)
[ 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>
drivers/iio/gyro/Kconfig

index 18e27d63785472bce603cc15b78790192f7853d6..b3d0e94f72eb740640e9999d749fce3bc701fc68 100644 (file)
@@ -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.