summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@foss.st.com>2021-09-20 17:21:31 +0200
committerWolfram Sang <wsa@kernel.org>2021-11-30 10:22:11 +0100
commit31b90a95ccbbb4b628578ac17e3b3cc8eeacfe31 (patch)
tree7c0407ecad9e24657536e651bbd40e5fe1f56de9 /usr
parentb933d1faf8fa30d16171bcff404e39c41b2a7c84 (diff)
i2c: stm32f7: stop dma transfer in case of NACK
In case of receiving a NACK, the dma transfer should be stopped to avoid feeding data into the FIFO. Also ensure to properly return the proper error code and avoid waiting for the end of the dma completion in case of error happening during the transmission. Fixes: 7ecc8cfde553 ("i2c: i2c-stm32f7: Add DMA support") Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions