spi: cadence-quadspi: Reset CMD_CTRL Reg on cmd r/w completion
authorDhruva Gole <d-gole@ti.com>
Wed, 25 Jan 2023 08:10:20 +0000 (13:40 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Feb 2023 13:25:24 +0000 (13:25 +0000)
commitd4f43a2d05faf7febb839edb2e9e8f85dfb9d2d2
treeaead64b3626c3c56d9e3c534ca2afabae0c63f72
parent937ca916bf4de427242fb78105a0089af0dd43b3
spi: cadence-quadspi: Reset CMD_CTRL Reg on cmd r/w completion

If one leaves the CQSPI_REG_CMDCTRL in an unclean state this may cause
issues in future command reads. This issue came to light when some flash
reads in STIG mode were coming back dirty.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230125081023.1573712-2-d-gole@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence-quadspi.c