mmc: core: Set clock before speed mode switch l4t/l4t-r24.2.3 tegra-l4t-r24.2.3.update-01
authorAniruddha Tvs Rao <anrao@nvidia.com>
Thu, 9 Aug 2018 04:59:49 +0000 (09:59 +0530)
committerAmulya Yarlagadda <ayarlagadda@nvidia.com>
Fri, 10 Aug 2018 21:08:40 +0000 (14:08 -0700)
commit4bc274337aafb042ca72fd677d20efe3347e5efb
tree9b1e6379c851fe0c1da431825c715e6f7883398a
parentea5aef2ff845a405ed083f034500150d6bfa0c93
mmc: core: Set clock before speed mode switch

Set clock to mx_dtr before switching to high speed mode to
avoid chances of CRC errors for send status command after bus speed
mode switch.

Bug 200281075
Bug 200391328

Change-Id: I355134516f700a6fd44876f29cb356bc57a4fa7f
Signed-off-by: Aniruddha Tvs Rao <anrao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1795592
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
drivers/mmc/core/mmc.c