mmc: core: remove BUG_ONs from sdio
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 2 Nov 2016 07:24:00 +0000 (15:24 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:08 +0000 (10:31 +0100)
commit5df0e8231f9518ee5ca3f58a0777556dd03addd6
tree10824ce4a1a4dd724752600d94ac3518ec6b0f91
parent925ff3a7a334b3fe968ae15f07d22df21addad26
mmc: core: remove BUG_ONs from sdio

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/sdio.c
drivers/mmc/core/sdio_cis.c
drivers/mmc/core/sdio_irq.c