]> git.baikalelectronics.ru Git - uboot.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)
commit2a5f4d014bf96688aa36bca5ec7d8273f5a6bd20
tree38a395780bfc8c205ca859b5d269fb1f4ac057f6
parent85be1ececd2a1e0b229fd53d86502b76ad6c0b16
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