]> git.sur5r.net Git - u-boot/commit
mmc: dw_mmc: Avoid using printf() for errors
authorSimon Glass <sjg@chromium.org>
Fri, 7 Aug 2015 02:16:27 +0000 (20:16 -0600)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 11 Aug 2015 18:52:43 +0000 (21:52 +0300)
commit1c87ffe8d1eef2c759b97129fd48e218a039cbcd
treec9124f3fc146c0477c78aff89f89151e75232c43
parent9042d974d2391b58d9a51f805756fac31f3c656f
mmc: dw_mmc: Avoid using printf() for errors

The dw_mmc driver uses printf() in various places.

These bloat the code and cause problems for SPL. Use debug() where possible
and try to return a useful error code instead.

panto: Small rework to make it apply against top of tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c