]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-sirf: fix 8bit width enable by overwriting set_bus_width
authorMinda Chen <Minda.Chen@csr.com>
Tue, 26 Aug 2014 02:50:42 +0000 (10:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:19 +0000 (13:59 +0200)
commit523ed5999cbdc55c4934d946ea9a2bdadc695a8f
treea8fc06637bde974299cef883e19195d4166922c0
parentc3a8dc45467ac7fa57f4fedd0547e4f0d9e63c89
mmc: sdhci-sirf: fix 8bit width enable by overwriting set_bus_width

the implementation of CSR SDHCI controller is a modified version of
the one described in the 1.0 specification, and not a normal 3.0
controller.
and 8bit-width enable bit of CSR MMC hosts is 3, while stardard hosts
use bit 5.
this patch fixes the functionality of 8bit transfer in mmc controllers
and improve performance for mmc0 a lot.

Signed-off-by: Minda Chen <Minda.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Reviewed-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sirf.c