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

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/sd.c
drivers/mmc/core/sd_ops.c