Re: [PATCH v2] iio: accel: bma180: use iio helper function to guarantee direct mode

2016-08-15 Thread Jonathan Cameron
On 25/07/16 20:11, Alison Schofield wrote: > Replace the code that guarantees the device stays in direct mode > with iio_device_claim_direct_mode() which does same. > > Signed-off-by: Alison Schofield > Cc: Daniel Baluta Applied. Thanks, Jonathan

Re: [PATCH v2] iio: accel: bma180: use iio helper function to guarantee direct mode

2016-08-15 Thread Jonathan Cameron
On 25/07/16 20:11, Alison Schofield wrote: > Replace the code that guarantees the device stays in direct mode > with iio_device_claim_direct_mode() which does same. > > Signed-off-by: Alison Schofield > Cc: Daniel Baluta Applied. Thanks, Jonathan > --- > Changes in v2: > - put back private

[PATCH v2] iio: accel: bma180: use iio helper function to guarantee direct mode

2016-07-25 Thread Alison Schofield
Replace the code that guarantees the device stays in direct mode with iio_device_claim_direct_mode() which does same. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- Changes in v2: - put back private data lock I had removed in v1.

[PATCH v2] iio: accel: bma180: use iio helper function to guarantee direct mode

2016-07-25 Thread Alison Schofield
Replace the code that guarantees the device stays in direct mode with iio_device_claim_direct_mode() which does same. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- Changes in v2: - put back private data lock I had removed in v1. drivers/iio/accel/bma180.c | 9 + 1 file