diff options
author | Alain Volmat <alain.volmat@foss.st.com> | 2021-02-05 21:59:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-05 22:16:55 +0300 |
commit | 2269f5a8b1a7b38651d62676b98182828f29d11a (patch) | |
tree | 71adb74584ab69136bb13a51e3bf3ba463305222 /.clang-format | |
parent | d290da83cb099d2d259d1dedacdf2f0375b2ecf0 (diff) | |
download | linux-2269f5a8b1a7b38651d62676b98182828f29d11a.tar.xz |
spi: stm32: properly handle 0 byte transfer
On 0 byte transfer request, return straight from the
xfer function after finalizing the transfer.
Fixes: dcbe0d84dfa5 ("spi: add driver for STM32 SPI controller")
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1612551572-495-2-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions