mmc: mxs-mmc: Propagate the real error
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 19 Nov 2014 13:16:58 +0000 (11:16 -0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:31:04 +0000 (14:31 +0100)
commit5654d90064bda87a9738fd6fcfcfca5537754259
tree815e47da96826659c85711f9d97966b5c5eb141e
parentc3cd5c076c3ab6a088d73e260b516bcda1dc9da4
mmc: mxs-mmc: Propagate the real error

If platform_get_irq() fails, it is better to propagate the real error value
instead of a 'fake' one.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mxs-mmc.c