OSDN Git Service

mmc: sdhci-esdhc-imx: do not touch other bit when config DTOCV
authorHaibo Chen <haibo.chen@nxp.com>
Mon, 15 Aug 2016 08:19:38 +0000 (16:19 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:10 +0000 (21:31 +0200)
commita215186d7f057a5ff159824b9f869f835c69e952
tree0e38717c81188d0a68f1ffae816ef093eadfe986
parent4ad90cf9a8c62ca247917eb1ea1560a4a13a0731
mmc: sdhci-esdhc-imx: do not touch other bit when config DTOCV

Now, when call esdhc_set_timeout() to set the data timeout counter value,
IPP_RST_N(bit 23) is wrongly affected. This patch add a mask to avoid this.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c