mmc: sdhci-of-esdhc: add erratum eSDHC5 support
commit71282f9e31a3e870b493e26981a73f8a00eefbee
authorYinbo Zhu <yinbo.zhu@nxp.com>
Mon, 11 Mar 2019 02:16:36 +0000 (11 02:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:47:27 +0000 (31 06:47 -0700)
treeb6644c16eb1238efd14efa4e8a844900317cfe4c
parentb5128b96309a4c7dd44f15b7ad74a5614f3c520b
mmc: sdhci-of-esdhc: add erratum eSDHC5 support

[ Upstream commit a46e42712596b51874f04c73f1cdf1017f88df52 ]

Software writing to the Transfer Type configuration register
(system clock domain) can cause a setup/hold violation in the
CRC flops (card clock domain), which can cause write accesses
to be sent with corrupt CRC values. This issue occurs only for
write preceded by read. this erratum is to fix this issue.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-of-esdhc.c