Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198275

Re: [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
Date 2015-08-02 20:40 +0200
Message-ID <pT6kV-3Mb-7@gated-at.bofh.it> (permalink)
References <pRzU5-1hb-3@gated-at.bofh.it> <pRzU6-1hb-19@gated-at.bofh.it> <pSoae-6Lu-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 31/07/15 20:20, Srinivas Pandruvada wrote:
> On Wed, 2015-07-29 at 15:46 +0200, Markus Pargmann wrote:
>> This patch adds selects for IIO_BUFFER and IIO_TRIGGERED_BUFFER. Without
>> IIO_BUFFER, the driver does not compile.
>>
>> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan
>> ---
>>  drivers/iio/gyro/Kconfig | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig
>> index b3d0e94f72eb..8d2439345673 100644
>> --- a/drivers/iio/gyro/Kconfig
>> +++ b/drivers/iio/gyro/Kconfig
>> @@ -53,7 +53,8 @@ config ADXRS450
>>  config BMG160
>>  	tristate "BOSCH BMG160 Gyro Sensor"
>>  	depends on I2C
>> -	select IIO_TRIGGERED_BUFFER if IIO_BUFFER
>> +	select IIO_BUFFER
>> +	select IIO_TRIGGERED_BUFFER
>>  	help
>>  	  Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
>>  	  driver. This driver also supports BMI055 gyroscope.
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] iio: bmg160: Add SPI connection Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
  [PATCH 4/7] iio: bmg160: Use generic dev_drvdata Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
  [PATCH 3/7] iio: bmg160: Remove i2c_client from data struct Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
  [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
    Re: [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are  required Jonathan Cameron <jic23@kernel.org> - 2015-08-02 20:40 +0200
  [PATCH 5/7] iio: bmg160: Remove remaining uses of i2c_client Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
  [PATCH 2/7] iio: bmg160: Use i2c regmap instead of direct i2c access Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200
    Re: [PATCH 2/7] iio: bmg160: Use i2c regmap instead of direct i2c  access Paul Bolle <pebolle@tiscali.nl> - 2015-07-30 12:50 +0200
  [PATCH 6/7] iio: bmg160: Separate i2c and core driver Markus Pargmann <mpa@pengutronix.de> - 2015-07-29 15:50 +0200

csiph-web