]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
mmc: tegra: Retuning on card-detect call back
authorAnubhav Jain <anubhavj@nvidia.com>
Mon, 18 Jul 2016 09:22:40 +0000 (14:52 +0530)
committerAnubhav Jain <anubhavj@nvidia.com>
Wed, 20 Jul 2016 13:05:21 +0000 (06:05 -0700)
commit44c6cbf9d2d69c936ada93f7667e0675539172e9
tree5ac8c1822138ede9b0b2f88bb3677b964382a0e9
parentbb2b2cf6ffc7484a4b9f7e5d592ce346b83007e1
mmc: tegra: Retuning on card-detect call back

-Disable regulators when card is removed and enable
when card is inserted through card_event api()
- Set tuning_status with retune if card is removed since
tuning should be performed for the new card inserted

Bug 200219827

Change-Id: If71c5970032f8a7544b15d9f48dea754ef996f44
Signed-off-by: Anubhav Jain <anubhavj@nvidia.com>
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/1182707
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/mmc/host/sdhci-tegra.c
include/linux/platform_data/mmc-sdhci-tegra.h