]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-esdhc-imx: separate transfer mode from command write for usdhc
authorShawn Guo <shawn.guo@linaro.org>
Mon, 21 Jan 2013 11:02:24 +0000 (19:02 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 24 Feb 2013 19:37:01 +0000 (14:37 -0500)
commit6710fc8b691400c91fc379379954cc8f016c7f75
treeb6bc7696a8fbb558d1ef65ea64397a99372bc4ab
parentd06e12a6c9babd30b337b79144c6e6a58c05125b
mmc: sdhci-esdhc-imx: separate transfer mode from command write for usdhc

The combining of SDHCI_TRANSFER_MODE and SDHCI_COMMAND writes is only
required for esdhc, but not necessarily for usdhc.  Different from
esdhc where the bits for transfer mode and command are all in the same
register CMD_XFR_TYP, usdhc has a newly introduced register MIX_CTRL
to hold transfer mode bits.  So it makes more sense to separate transfer
mode from command write for usdhc.

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