]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-quadspi: Reset CMD_CTRL Reg on cmd r/w completion
authorDhruva Gole <d-gole@ti.com>
Wed, 12 Apr 2023 10:58:56 +0000 (16:28 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 26 Apr 2023 08:07:39 +0000 (13:37 +0530)
commit08b3098eadc7f826c3e6fb9d184cf6d82f5028fe
tree01a7fa4fac8722ef15671043bc45c992c16c604e
parent8077d296adff235e13c1478f92ef42c08e17ec33
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.

Co-developed-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/cadence_qspi_apb.c