Re: [PATCH] iio: pressure: mpl3115: claim direct mode during raw reads

2016-10-15 Thread Jonathan Cameron
On 11/10/16 20:33, 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 breaks again also the goto goes to

Re: [PATCH] iio: pressure: mpl3115: claim direct mode during raw reads

2016-10-15 Thread Jonathan Cameron
On 11/10/16 20:33, 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 breaks again also the goto goes to an 'unsual location'.