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>
This commit is contained in:
Philippe Schenker 2019-05-07 16:36:15 +02:00 • committed by Jonathan Cameron
commit ed1f310ee2