Re: [PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-15 Thread Alison Schofield
On Mon, Aug 15, 2016 at 05:04:24PM +0100, Jonathan Cameron wrote: > On 01/08/16 16:48, 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. > > > >

Re: [PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-15 Thread Alison Schofield
On Mon, Aug 15, 2016 at 05:04:24PM +0100, Jonathan Cameron wrote: > On 01/08/16 16:48, 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. > > > >

Re: [PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-15 Thread Jonathan Cameron
On 01/08/16 16:48, 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 > Cc: Daniel Baluta

Re: [PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-15 Thread Jonathan Cameron
On 01/08/16 16:48, 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 > Cc: Daniel Baluta > --- >

[PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-01 Thread Alison Schofield
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 Cc: Daniel Baluta --- drivers/iio/magnetometer/mag3110.c |

[PATCH] iio: magnetometer: mag3110: claim direct mode during raw reads

2016-08-01 Thread Alison Schofield
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 Cc: Daniel Baluta --- drivers/iio/magnetometer/mag3110.c | 21 + 1 file changed, 13