Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-03-03 Thread Jonathan Cameron
t concerning the 2nd Issue. For the 3rd and the 4th > > Issue I would like to hear your opinion if our modifications are sound > > before I will write an pull request. > > > > Thanks for your time, > > Best wishes, > > Georg Ottinger > > >

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-22 Thread Ludovic Desroches
icht- > Von: Jonathan Cameron [mailto:jonathan.came...@huawei.com] > Gesendet: Montag, 04. Februar 2019 10:46 > An: Georg Ottinger > Cc: Jonathan Cameron ; eugen.hris...@microchip.com; Stefan > Etzlstorfer ; Hartmut Knaack ; > Lars-Peter Clausen ; Peter Meerwald-Stadle

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-22 Thread Ludovic Desroches
On Wed, Jan 30, 2019 at 02:42:02PM +0100, g.ottin...@abatec.at wrote: > From: Georg Ottinger > > Having a brief look at at91_adc_read_raw() it is obvious that in the case > of a timeout the setting of AT91_ADC_CHDR and AT91_ADC_IDR registers is > omitted. If 2 different channels are queried we

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-04 Thread Georg Ottinger
ter Clausen ; Peter Meerwald-Stadler ; Nicolas Ferre ; Alexandre Belloni ; Ludovic Desroches ; David S. Miller ; Ard Biesheuvel ; Kees Cook ; linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Maxime Ripard Betreff: Re: [PATCH] iio: adc: at91: dis

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-04 Thread Georg Ottinger
2019 11:21 > An: Georg Ottinger > Cc: eugen.hris...@microchip.com; Stefan Etzlstorfer > ; Hartmut Knaack ; > Lars-Peter Clausen ; Peter Meerwald-Stadler > ; Nicolas Ferre ; > Alexandre Belloni ; Ludovic Desroches > ; David S. Miller > ; Ard Biesheuvel ; > Kees Cook

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-04 Thread Jonathan Cameron
..@microchip.com; Stefan Etzlstorfer > ; Hartmut Knaack ; Lars-Peter > Clausen ; Peter Meerwald-Stadler ; > Nicolas Ferre ; Alexandre Belloni > ; Ludovic Desroches > ; David S. Miller ; Ard > Biesheuvel ; Kees Cook ; > linux-...@vger.kernel.org; linux-arm-ker...@lists.infr

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-03 Thread Georg Ottinger
r.kernel.org; Maxime Ripard Betreff: Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case On Wed, 30 Jan 2019 14:42:02 +0100 wrote: > From: Georg Ottinger > > Having a brief look at at91_adc_read_raw() it is obvious that in the > case of a time

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-02 Thread Jonathan Cameron
On Wed, 30 Jan 2019 14:42:02 +0100 wrote: > From: Georg Ottinger > > Having a brief look at at91_adc_read_raw() it is obvious that in the case > of a timeout the setting of AT91_ADC_CHDR and AT91_ADC_IDR registers is > omitted. If 2 different channels are queried we can end up with a >

[PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-01-30 Thread g.ottinger
From: Georg Ottinger Having a brief look at at91_adc_read_raw() it is obvious that in the case of a timeout the setting of AT91_ADC_CHDR and AT91_ADC_IDR registers is omitted. If 2 different channels are queried we can end up with a situation where two interrupts are enabled, but only one