]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: manually reset MIX_CTRL for usdhc
authorShawn Guo <shawn.guo@linaro.org>
Mon, 21 Jan 2013 11:02:25 +0000 (19:02 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 18:29:06 +0000 (13:29 -0500)
commit935f0b9cbda1eeaff5acc31b21c786ad3d3e842d
treed5a160b44e01f6304d6b800c53663b08a0d17fa6
parentdd6e11d8175dc90530a44d40622769e6937fda1d
mmc: sdhci-esdhc-imx: manually reset MIX_CTRL for usdhc

It's another violation to SDHC spec that software reset on usdhc
does not reset MIX_CTRL register.  Have to do it manually, otherwise
the preserving of the register bits (e.g. AC23EN) may cause mmc card
fail to be initialized.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c