]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-sirf: fix the tuning count in platform_execute_tuning
authorWeijun Yang <Weijun.Yang@csr.com>
Mon, 27 Apr 2015 08:15:13 +0000 (08:15 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:49 +0000 (09:06 +0200)
commit9399e891a9081f593d6fd383afa8420f3cde7e7b
tree89e1ddcec77341a3e472c08b3e7506474960ecce
parent2f567b2703a1af742e7728c1598c05cea4ef3065
mmc: sdhci-sirf: fix the tuning count in platform_execute_tuning

hardware has 16bit to record the tuning count, so fix it to 16384.
at the same time, tuned_phases[SIRF_TUNING_COUNT] is useless as the
array is never used, so move it to a variant.

Signed-off-by: Weijun Yang <Weijun.Yang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sirf.c