iio: stmpe-adc: Reset possible interrupts
authorPhilippe Schenker <philippe.schenker@toradex.com>
Tue, 7 May 2019 14:36:15 +0000 (16:36 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 May 2019 10:18:34 +0000 (11:18 +0100)
commited1f310ee23d277d5386f532165911df69afe62f
tree65768adf1d06700eb5bdd5be4430a9ec3db804e2
parente813dde6f83343012239a44e433eacc22de1079c
iio: stmpe-adc: Reset possible interrupts

Clear any interrupt that still is on the device on every channel
this driver is activated for in probe and specific channels in
the timeout handler.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stmpe-adc.c