]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Unconditionally call mmc_deinit()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 17 Mar 2024 03:01:22 +0000 (04:01 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 15 Apr 2024 06:19:13 +0000 (15:19 +0900)
commit27ba82cb6c2be7e4bb4694d52f107a75fc66ce68
tree8f38292b4c1153218957a7fe9b1f10031106ff19
parentb78630630a9e419a50de986a3d268b428f5d0c28
mmc: Unconditionally call mmc_deinit()

Place the SDR104/HS200/HS400 checks into the mmc_deinit() and always
call it. This simplifies the code and removes ifdeffery. No functional
change is expected.

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c