On 10/14/13 17:49, Lars-Peter Clausen wrote: > The equivalent of iio_sw_buffer_preenable() is now done in the IIO buffer > core, so there is no need to do this from the driver anymore. > > Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx> > Cc: Zubair Lutfullah <zubair.lutfullah@xxxxxxxxx> Applied to the togreg branch of iio.git Thanks > --- > drivers/iio/adc/ti_am335x_adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c > index 8fb5429..ef54d8a 100644 > --- a/drivers/iio/adc/ti_am335x_adc.c > +++ b/drivers/iio/adc/ti_am335x_adc.c > @@ -166,7 +166,7 @@ static int tiadc_buffer_preenable(struct iio_dev *indio_dev) > for (i = 0; i < fifo1count; i++) > read = tiadc_readl(adc_dev, REG_FIFO1); > > - return iio_sw_buffer_preenable(indio_dev); > + return 0; > } > > static int tiadc_buffer_postenable(struct iio_dev *indio_dev) > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html