spi: spi-synquacer: fix set_cs handling
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Mon, 1 Feb 2021 07:31:09 +0000 (01:31 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 3 Feb 2021 16:23:07 +0000 (16:23 +0000)
commit1c9f1750f0305bf605ff22686fc0ac89c06deb28
treeacc07b7164fe61974839057b857879d349f715dd
parent9d2aa6dbf87af89c13cac2d1b4cccad83fb14a7e
spi: spi-synquacer: fix set_cs handling

When the slave chip select is deasserted, DMSTOP bit
must be set.

Fixes: b0823ee35cf9 ("spi: Add spi driver for Socionext SynQuacer platform")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210201073109.9036-1-jassisinghbrar@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-synquacer.c