]> 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)
commit36609a6b36350b1e8019bdbbb6bed5b9a1d563d6
treeb6bc7696a8fbb558d1ef65ea64397a99372bc4ab
parent185b0cbdc4e6efb5cd9cd36b3543b9135c1169d3
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