summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2022-05-11 09:46:43 +0200
committerMark Brown <broonie@kernel.org>2022-05-11 17:40:09 +0100
commit0cf8d32600cf5660ee45d421f1b6e3a129ca58b6 (patch)
treefa1e6e086dde0d965942a4b6988d09548ecab779 /ipc
parentd83d89ea68b4726700fa87b22db075e4217e691c (diff)
spi: stm32-qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd()
Currently, SR_TCF flag is checked in case there is data, this criteria is not correct. SR_TCF flags is set when programmed number of bytes has been transferred to the memory device ("bytes" comprised command and data send to the SPI device). So even if there is no data, we must check SR_TCF flag. Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Link: https://lore.kernel.org/r/20220511074644.558874-3-patrice.chotard@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions