[PATCH 0/3] iio: adc: ade9000: series of probe and channel fixes

Antoniu Miclaus <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
This series fixes three issues in the ade9000 driver, all present since
the driver was added.

Patch 1 moves the interrupt requests after the vdd regulator is enabled,
so an early interrupt no longer runs a handler doing SPI accesses against
an unpowered chip.

Patch 2 corrects the overlapping scan_index values for the current and
voltage channels, which caused the Phase B and C waveform buffers to be
configured incorrectly.

Patch 3 fixes the STATUS1 event scan bound so that Phase C dip events
(bit 25) are actually reported.

Antoniu Miclaus (3):
  iio: adc: ade9000: request interrupts after powering the device
  iio: adc: ade9000: fix overlapping scan_index for current and voltage
    channels
  iio: adc: ade9000: handle Phase C dip events in IRQ1 handler

 drivers/iio/adc/ade9000.c | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.