mmc: core: remove BUG_ONs from mmc
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 2 Nov 2016 07:25:33 +0000 (15:25 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:09 +0000 (10:31 +0100)
commit8cce3ecc535daf91c6f5c895684195932a949be1
treece0afba62090f8101b9204ff9fae94c6cd9b8a10
parenta48ee3e65a9e7395e8bab86728fcdc81c30a89ca
mmc: core: remove BUG_ONs from mmc

BUG_ONs doesn't help anything except for stop the system from
running. If it occurs, it implies we should deploy proper error
handling for that. So this patch is gonna discard these meaningless
BUG_ONs and deploy error handling if needed.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_ops.c