]> git.sur5r.net Git - u-boot/commit
mmc: uniphier-sd: return error code if unsupported width is given
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 25 Aug 2016 05:52:37 +0000 (14:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Aug 2016 03:39:49 +0000 (12:39 +0900)
commit8be12e28394efce2844e0a08e8c6e38e60f36d31
treeba93efedad74378e92a858085c9701065534e052
parent4eb008460cf4b9da316d97874a32680209324107
mmc: uniphier-sd: return error code if unsupported width is given

With the CONFIG_DM_MMC_OPS migration, the .set_ios callback can
return an integer now.  Return an appropriate error value rather
than sudden death by BUG().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/uniphier-sd.c