]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: rockchip_sdhci: Refactor execute tuning error handling
authorJonas Karlman <jonas@kwiboo.se>
Tue, 18 Apr 2023 16:46:31 +0000 (16:46 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:55:29 +0000 (15:55 +0800)
commitba9f5e541d78b7200fc7fa56e4e056c3b92ea451
treec852a06e1b1f20ca3c88260f1928e6e7bf241c9c
parentb8a63c869cafc1509193b6b7544c03fcdd0265ca
mmc: rockchip_sdhci: Refactor execute tuning error handling

Check return value from mmc_send_cmd and clear HOST_CONTROL2 when there
is an error. Also skip enable of interrupt signaling and remove a delay,
a delay is already happening in sdhci_send_command.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mmc/rockchip_sdhci.c