Home
last modified time | relevance | path

Searched hist:"5987 e6ded29d52e42fc7b06aa575c60a25eee38e" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mmc/host/
H A Dsdhci-of-at91.cdiff 5987e6ded29d52e42fc7b06aa575c60a25eee38e Thu Jun 30 11:09:26 CEST 2022 Eugen Hristev <eugen.hristev@microchip.com> mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R

In set_uhs_signaling, the DDR bit is being set by fully writing the MC1R
register.
This can lead to accidental erase of certain bits in this register.
Avoid this by doing a read-modify-write operation.

Fixes: d0918764c17b ("mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Tested-by: Karl Olsen <karl@micro-technic.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20220630090926.15061-1-eugen.hristev@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>