]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Set clock when reverting to safe bus mode
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Sat, 10 Jun 2023 11:22:33 +0000 (13:22 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 18 Jul 2023 00:17:29 +0000 (09:17 +0900)
commit50dee4f3610331cc31f1f02f9d4116b716907011
tree316595b4833bc8d5d80cc77e7ef1d37acdc5db0e
parent99ab3d8dc45c184dcec692fd7130f8732e8c25e4
mmc: Set clock when reverting to safe bus mode

Set MMC clock when reverting to safe bus mode and speed
in case current MMC mode fails. Otherwise, trying out
the other modes may fail as well.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
[hp: fallback to legacy_speed]
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc.c