summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-11-22 10:01:30 +0300
committerMark Brown <broonie@kernel.org>2016-11-22 19:47:24 +0300
commit1eaccf210c59e04eb6e9b5469a60d6609c95ac61 (patch)
tree9448d7ec842f9d1b96dff996fe3def959ba5bd1c /.get_maintainer.ignore
parent27d21e9f988e527982a7516fcf411994f498787d (diff)
downloadlinux-1eaccf210c59e04eb6e9b5469a60d6609c95ac61.tar.xz
spi: spi-fsl-dspi: Fix incorrect DMA setup
Currently dmaengine_prep_slave_single was being called with length set to the complete DMA buffer size. This resulted in unwanted bytes being transferred to the SPI register leading to clock and MOSI lines having unwanted data even after chip select got deasserted and the required bytes having been transferred. While at it also clean up the use of curr_xfer_len which is central to the DMA setup, from bytes to DMA transfers for every use. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions