mmc: core: Don't panic when fetching EXT_CSD
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 16 Oct 2014 15:00:39 +0000 (17:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:43 +0000 (12:40 +0100)
commit2fd322a58ed17b9159aa369e7c9ea01eb6a5d5ae
treee54b4234ae66880fe3f16ae46e6838466564e255
parentc197787ced5b42bde224d9ee70473d87a824119a
mmc: core: Don't panic when fetching EXT_CSD

Instead of doing BUG_ON(), return an error code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c