spi: rspi: Fix sequencer reset during initialization
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 12 Mar 2019 18:45:13 +0000 (19:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Mar 2019 16:32:19 +0000 (16:32 +0000)
commit26843bb128590edd7eba1ad7ce22e4b9f1066ce3
treebdb1c641fc9d045cd27b718f715b4e0618b629f9
parent42bdaaece121b3bb50fd4d1203d6d0170279f9fa
spi: rspi: Fix sequencer reset during initialization

While the sequencer is reset after each SPI message since commit
880c6d114fd79a69 ("spi: rspi: Add support for Quad and Dual SPI
Transfers on QSPI"), it was never reset for the first message, thus
relying on reset state or bootloader settings.

Fix this by initializing it explicitly during configuration.

Fixes: 0b2182ddac4b8837 ("spi: add support for Renesas RSPI")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c