mmc: core: remove BUG_ONs from core.c
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 2 Nov 2016 07:26:16 +0000 (15:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:11 +0000 (10:31 +0100)
commit6ff897ff5c62cd0454af39734408fcec8c4cf3f3
tree04c0952a159207b7861b83657fa567822a460ae1
parent349583d66620a7d3eda760c82119ab7a8c253272
mmc: core: remove BUG_ONs from core.c

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/core.c