diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-07-07 00:59:28 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:24 +0200 |
commit | f216c124dc769dfee14b445aec9e1c0b8852d7a2 (patch) | |
tree | d47b86fcb82aac4b97f81f2c007b774015734647 /drivers/soc/renesas/r8a7790-sysc.c | |
parent | 0f77934ab8db9368e29f1cb050af25c244710471 (diff) |
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: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/soc/renesas/r8a7790-sysc.c')
0 files changed, 0 insertions, 0 deletions