]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
mmc: tegra: Reset sdhci controller.
authorNaveen Kumar Arepalli <naveenk@nvidia.com>
Tue, 7 Apr 2015 06:16:58 +0000 (11:46 +0530)
committerPavan Kunapuli <pkunapuli@nvidia.com>
Thu, 7 May 2015 07:38:33 +0000 (00:38 -0700)
commit5f7bb114a9f65123c5338598ed9c396aaa73dadd
tree6ff43ea0864c4b152059bef75bd0b4d410337e4f
parentc1b6702853c6611e9239c0469211f56475ff543a
mmc: tegra: Reset sdhci controller.

-Assert and Deassert sdhci controller to clear all previous status.
-SDMMC_SPARE0[7:6] should not be touched by SW.
-Disabling these bits will lead to undefined behavior of SDMMC and
may see data CRC issues or hang issues.
-Kernel SW is not clearing SDMMC_SPARE0[7:6], but while reading the
register in probe the value is not set to reset value.

Bug 200093682

Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/728781
(cherry picked from commit 83b23127cf3a97daee53a730158b384f2a4e29ee)
Change-Id: I1f17aa1f469f7d166165e394ac570a4d54a20883
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/740030
Reviewed-by: Automatic_Commit_Validation_User
drivers/mmc/host/sdhci-tegra.c