Skip to content
Commit f216c124 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Ulf Hansson
Browse files

mmc: mxcmmc: fix error return code in mxcmci_probe()



platform_get_irq() returns an error code, but the mxcmmc driver
ignores it and always returns -EINVAL. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.

Print error message and propagate the return value of
platform_get_irq on failure.

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0f77934a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment