summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-imx.c
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@foss.st.com>2021-06-30 11:45:19 +0300
committerMark Brown <broonie@kernel.org>2021-06-30 15:50:32 +0300
commite4a5c19888a5f8a9390860ca493e643be58c8791 (patch)
tree67afbbab680b682842040e4f6117a49b1b65d314 /drivers/spi/spi-imx.c
parentb470e10eb43f19e08245cd87dd3192a8141cfbb5 (diff)
downloadlinux-e4a5c19888a5f8a9390860ca493e643be58c8791.tar.xz
spi: stm32h7: fix full duplex irq handler handling
In case of Full-Duplex mode, DXP flag is set when RXP and TXP flags are set. But to avoid 2 different handlings, just add TXP and RXP flag in the mask instead of DXP, and then keep the initial handling of TXP and RXP events. Also rephrase comment about EOTIE which is one of the interrupt enable bits. It is not triggered by any event. Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/1625042723-661-3-git-send-email-alain.volmat@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-imx.c')
0 files changed, 0 insertions, 0 deletions