diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2020-05-27 13:56:59 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-29 12:38:00 +0200 |
commit | dbdea70f71d672c12bc4454e7c258a8f78194d74 (patch) | |
tree | 6815b6e9e0ca83326579527941cf1a4fa1315428 /drivers/mmc/core/sdio.c | |
parent | 16e40e5b1e3c6646fd90d0c3186703d209216f03 (diff) | |
download | linux-dbdea70f71d672c12bc4454e7c258a8f78194d74.tar.gz linux-dbdea70f71d672c12bc4454e7c258a8f78194d74.tar.bz2 linux-dbdea70f71d672c12bc4454e7c258a8f78194d74.zip |
mmc: sdhci-of-at91: fix CALCR register being rewritten
When enabling calibration at reset, the CALCR register was completely
rewritten. This may cause certain bits being deleted unintentedly.
Fix by issuing a read-modify-write operation.
Fixes: 727d836a375a ("mmc: sdhci-of-at91: add DT property to enable calibration on full reset")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Link: https://lore.kernel.org/r/20200527105659.142560-1-eugen.hristev@microchip.com
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
0 files changed, 0 insertions, 0 deletions