mmc: tegra: implement UHS tuning
authorLucas Stach <dev@lynxeye.de>
Tue, 22 Dec 2015 18:41:02 +0000 (19:41 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Dec 2015 13:14:56 +0000 (14:14 +0100)
commitc3c2384c3ac073cdc2d8e3bbc89b55cdcf507b8f
tree59ec32b62830ca6570a524b83c28d69c24edbba4
parent74cd42bcad7486664d13b1b42bc81a399d7ed763
mmc: tegra: implement UHS tuning

This implements the UHS tuning sequence in a similar way to the one
contained in the TRM. It deviates in the way how to check if the tap
value is passing, by using the common Linux MMC function, which does
not only check for data CRC errors, but also if the received block
pattern is correct.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c