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)
commitd1ba44a4232aa6a95c19b394df53b07b0d61c9c8
tree89e1ddcec77341a3e472c08b3e7506474960ecce
parentc4b13fb06a03e66d0d05720786b38faa8f8642df
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