mmc: mxs-mmc: Check the return value from stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 3 Jul 2013 20:02:38 +0000 (17:02 -0300)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 02:09:45 +0000 (22:09 -0400)
commit02c18c4737a7fc52d8a612d67c18f2900510dae3
tree27ab81be1eee8a4793a6cb81ffd0e2a81cbcdd0c
parenta5adbffda8d88a9e96c579b337b12cc8a6863575
mmc: mxs-mmc: Check the return value from stmp_reset_block()

stmp_reset_block() may fail, so let's check its return value and
propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c