Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-21 Thread Jonathan Cameron
On Mon, 19 Jun 2017 13:30:31 -0500 "Andrew F. Davis" wrote: > On 06/19/2017 01:24 PM, Brüns, Stefan wrote: > > On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: > >> On Wed, 24 May 2017 20:53:35 +0100 > >> > >> Jonathan Cameron wrote: > >>> On

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-21 Thread Jonathan Cameron
On Mon, 19 Jun 2017 13:30:31 -0500 "Andrew F. Davis" wrote: > On 06/19/2017 01:24 PM, Brüns, Stefan wrote: > > On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: > >> On Wed, 24 May 2017 20:53:35 +0100 > >> > >> Jonathan Cameron wrote: > >>> On Wed, 24 May 2017 02:09:07 +0200 >

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-19 Thread Andrew F. Davis
On 06/19/2017 01:24 PM, Brüns, Stefan wrote: > On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: >> On Wed, 24 May 2017 20:53:35 +0100 >> >> Jonathan Cameron wrote: >>> On Wed, 24 May 2017 02:09:07 +0200 >>> >>> Stefan Brüns wrote:

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-19 Thread Andrew F. Davis
On 06/19/2017 01:24 PM, Brüns, Stefan wrote: > On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: >> On Wed, 24 May 2017 20:53:35 +0100 >> >> Jonathan Cameron wrote: >>> On Wed, 24 May 2017 02:09:07 +0200 >>> >>> Stefan Brüns wrote: While the INA226 has a conversion ready

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-19 Thread Brüns , Stefan
On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: > On Wed, 24 May 2017 20:53:35 +0100 > > Jonathan Cameron wrote: > > On Wed, 24 May 2017 02:09:07 +0200 > > > > Stefan Brüns wrote: > > > While the INA226 has a conversion ready flag

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-06-19 Thread Brüns , Stefan
On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote: > On Wed, 24 May 2017 20:53:35 +0100 > > Jonathan Cameron wrote: > > On Wed, 24 May 2017 02:09:07 +0200 > > > > Stefan Brüns wrote: > > > While the INA226 has a conversion ready flag (CVRF) in the R/W > > > Mask/Enable > > >

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-24 Thread Jonathan Cameron
On Wed, 24 May 2017 20:53:35 +0100 Jonathan Cameron wrote: > On Wed, 24 May 2017 02:09:07 +0200 > Stefan Brüns wrote: > > > While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable > > register with read-to-clear semantics, the

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-24 Thread Jonathan Cameron
On Wed, 24 May 2017 20:53:35 +0100 Jonathan Cameron wrote: > On Wed, 24 May 2017 02:09:07 +0200 > Stefan Brüns wrote: > > > While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable > > register with read-to-clear semantics, the corresponding bit of the INA219 > > (CNVR) is

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-24 Thread Jonathan Cameron
On Wed, 24 May 2017 02:09:07 +0200 Stefan Brüns wrote: > While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable > register with read-to-clear semantics, the corresponding bit of the INA219 > (CNVR) is part of the bus voltage register. The flag is

Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-24 Thread Jonathan Cameron
On Wed, 24 May 2017 02:09:07 +0200 Stefan Brüns wrote: > While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable > register with read-to-clear semantics, the corresponding bit of the INA219 > (CNVR) is part of the bus voltage register. The flag is cleared by reading > the

[PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-23 Thread Stefan Brüns
While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable register with read-to-clear semantics, the corresponding bit of the INA219 (CNVR) is part of the bus voltage register. The flag is cleared by reading the power register. Signed-off-by: Stefan Brüns

[PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

2017-05-23 Thread Stefan Brüns
While the INA226 has a conversion ready flag (CVRF) in the R/W Mask/Enable register with read-to-clear semantics, the corresponding bit of the INA219 (CNVR) is part of the bus voltage register. The flag is cleared by reading the power register. Signed-off-by: Stefan Brüns ---