aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFabrice Gasnier2019-12-02 10:02:19 +0100
committerJonathan Cameron2019-12-15 11:42:17 +0000
commitcc06e67d8fa55d000caeb4613e8873aed2c171ff (patch)
tree7df9765b6012c65120a948b93710dfa922673633 /net
parent4cf01d6d4eea2e3841aeaa4cb977e73ab5efab10 (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 'net')
0 files changed, 0 insertions, 0 deletions