diff options
author | Robin van der Gracht <robin@protonic.nl> | 2022-06-21 12:15:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-22 09:29:23 +0200 |
commit | 63ef678dec6899fc947d0abd21ea4984792624ad (patch) | |
tree | cdbb1033aaa6d3b45f47b4ea819ec5c1451fd3a0 /dts/Bindings/display | |
parent | 339737fcf0a7c4be1d1984283619cb14aaee6aff (diff) | |
download | barebox-63ef678dec6899fc947d0abd21ea4984792624ad.tar.gz barebox-63ef678dec6899fc947d0abd21ea4984792624ad.tar.xz |
mci: imx-esdhc-common: Don't clear unhandled status bits
A DMA cmd + data transfer can finish or stop (i.e. on a block gap) before
the status register is cleared. In that case we'll lose track of state
causing sdhci_transfer_data_dma() to loop forever waiting for status bits
that are already cleared.
Clearing SDHCI_INT_CMD_COMPLETE should suffice here. Since it's not
evaluated a second time, clearing it at the start of the function is
sufficient so we can just remove the erroneous status write.
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Link: https://lore.barebox.org/20220621101529.554322-1-robin@protonic.nl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/display')
0 files changed, 0 insertions, 0 deletions