diff options
author | Fabrice Gasnier | 2019-12-02 10:02:19 +0100 |
---|---|---|
committer | Jonathan Cameron | 2019-12-15 11:42:17 +0000 |
commit | cc06e67d8fa55d000caeb4613e8873aed2c171ff (patch) | |
tree | 7df9765b6012c65120a948b93710dfa922673633 /drivers/visorbus | |
parent | 4cf01d6d4eea2e3841aeaa4cb977e73ab5efab10 (diff) |
iio: adc: stm32-adc: Add check on overrun interrupt
Enable overrun interrupt on STM32 ADC. In case data register hasn't been
read (by CPU or DMA), overrun condition is detected when there's new
conversion data available. Stop grabbing data and log an error message.
Use a threaded irq to avoid printing the error message from hard irq
context.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/visorbus')
0 files changed, 0 insertions, 0 deletions