On Sun, Dec 29, 2019 at 05:06:17PM +0100, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
The patch below does not apply to the 5.4-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <stable@xxxxxxxxxxxxxxx>. thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From f667216c5c7c967c3e568cdddefb51fe606bfe26 Mon Sep 17 00:00:00 2001 From: Yangbo Lu <yangbo.lu@xxxxxxx> Date: Thu, 19 Dec 2019 11:23:35 +0800 Subject: [PATCH] mmc: sdhci-of-esdhc: re-implement erratum A-009204 workaround The erratum A-009204 workaround patch was reverted because of incorrect implementation. 8b6dc6b mmc: sdhci-of-esdhc: Revert "mmc: sdhci-of-esdhc: add erratum A-009204 support" This patch is to re-implement the workaround (add a 5 ms delay before setting SYSCTL[RSTD] to make sure all the DMA transfers are finished).
For 5.4 I took in 22dc132d5448 ("mmc: sdhci-of-esdhc: fix up erratum A-008171 workaround") to resolve the conflict. I'm not sure if the above patch is needed on older kernels. -- Thanks, Sasha