mmc: tegra: Write xfer_mode, CMD regs in together
authorPavan Kunapuli <pkunapuli@nvidia.com>
Wed, 28 Jan 2015 16:45:16 +0000 (11:45 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Jan 2015 10:21:58 +0000 (11:21 +0100)
commit352ee868dda03ca72e60d4853356881ff161ec23
tree67cfefe825be4832549c896202cb3c8aedee3403
parent0501be6429e4eb02f417ad83eacd84b8c57b0283
mmc: tegra: Write xfer_mode, CMD regs in together

If there is a gap between xfer mode and command register writes,
tegra SDMMC controller can sometimes issue a spurious command before
the CMD register is written. To avoid this, these two registers need
to be written together in a single write operation.

This is implemented as an NVQUIRK as it applies to T114, T124 and
T132.

Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c