]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: tegra: Optimize write_w path for tegra114 and later
authorRhyland Klein <rklein@nvidia.com>
Wed, 11 Feb 2015 17:55:51 +0000 (12:55 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:44 +0000 (14:13 +0100)
commit01df7ecd90e94186f9a736a1c58b56e23830f061
tree8df729a8df7b92b47aa17fa716879bfbac0314a5
parentdbb42d962c4149fe2e97f74bf1343b5229eefe5e
mmc: tegra: Optimize write_w path for tegra114 and later

Setup a different set of sdhci_ops for tegra114 and later so that
the write_w callback is only used on tegra114. This allows us to
remove the NVQUIRK_SHADOW_XFER_MODE_REG and simply the logic
in tegra_sdhci_writew.

Suggested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c