Re: [PATCH v2 1/7] iio: adc: max1027: Add debugfs register read support

2019-10-12 Thread Jonathan Cameron
On Mon, 7 Oct 2019 12:00:01 +0200 Miquel Raynal wrote: > Hi Jonathan, > > Jonathan Cameron wrote on Sun, 6 Oct 2019 11:04:24 > +0100: > > > On Thu, 3 Oct 2019 19:33:55 +0200 > > Miquel Raynal wrote: > > > > > Until now, only write operations were supported. Force two bytes read > > > oper

Re: [PATCH v2 1/7] iio: adc: max1027: Add debugfs register read support

2019-10-07 Thread Miquel Raynal
Hi Jonathan, Jonathan Cameron wrote on Sun, 6 Oct 2019 11:04:24 +0100: > On Thu, 3 Oct 2019 19:33:55 +0200 > Miquel Raynal wrote: > > > Until now, only write operations were supported. Force two bytes read > > operation when reading from this register (might be wrong when reading > > the temp

Re: [PATCH v2 1/7] iio: adc: max1027: Add debugfs register read support

2019-10-06 Thread Jonathan Cameron
On Thu, 3 Oct 2019 19:33:55 +0200 Miquel Raynal wrote: > Until now, only write operations were supported. Force two bytes read > operation when reading from this register (might be wrong when reading > the temperature, but will work with any other value). That's worrying as comments go. Just r

[PATCH v2 1/7] iio: adc: max1027: Add debugfs register read support

2019-10-03 Thread Miquel Raynal
Until now, only write operations were supported. Force two bytes read operation when reading from this register (might be wrong when reading the temperature, but will work with any other value). Signed-off-by: Miquel Raynal --- drivers/iio/adc/max1027.c | 7 +-- 1 file changed, 5 insertions(