Re: [PATCH] iio: accel: mma8452: claim direct mode during raw reads

2016-10-15 Thread Jonathan Cameron
On 11/10/16 20:31, Alison Schofield wrote: > Driver was checking for direct mode but not locking it. Use > claim/release helper functions to guarantee the device stays > in direct mode during raw reads. > > Signed-off-by: Alison Schofield Applied to the togreg branch of

Re: [PATCH] iio: accel: mma8452: claim direct mode during raw reads

2016-10-15 Thread Jonathan Cameron
On 11/10/16 20:31, Alison Schofield wrote: > Driver was checking for direct mode but not locking it. Use > claim/release helper functions to guarantee the device stays > in direct mode during raw reads. > > Signed-off-by: Alison Schofield Applied to the togreg branch of iio.git and pushed out