summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorCezary Gapinski <cezary.gapinski@gmail.com>2018-12-24 23:00:29 +0100
committerMark Brown <broonie@kernel.org>2019-01-07 19:23:56 +0100
commit2cbee7f886b2ab6b723745b295379ec6475f2ee3 (patch)
tree2fb9a964a80a2d30690b35298aaa5335fe4aae87 /.gitignore
parentspi: stm32: use NULL pointer instead of plain integer (diff)
downloadlinux-2cbee7f886b2ab6b723745b295379ec6475f2ee3.tar.xz
linux-2cbee7f886b2ab6b723745b295379ec6475f2ee3.zip
spi: stm32: fix DMA configuration with only one channel
When SPI driver is configured to work only with TX or RX DMA channel then dmaengine functions can dereferene NULL pointer. Running full-duplex mode when when only RX or TX DMA channel is available can cause overrun condition or incorrect writing to transmit buffer so disable this types of DMA configuration and go back to interrupt mode. Signed-off-by: Cezary Gapinski <cezary.gapinski@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions