]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: dwmmc: return a proper error code when busy
authorJohn Keeping <john@metanate.com>
Tue, 7 Dec 2021 16:09:35 +0000 (16:09 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Jan 2022 00:56:40 +0000 (09:56 +0900)
commit66d0b7e1f2bdcfbb7a64a0ffc1fd63617b8dd995
tree38a395780bfc8c205ca859b5d269fb1f4ac057f6
parentb2acee4bb02672b5bf2b0f4a6f77b0e5ddc9d6b5
mmc: dwmmc: return a proper error code when busy

When failing to send a command because the hardware is busy, return
EBUSY to indicate the cause instead of just -1.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c