diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-07-07 00:59:28 -0500 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-08-30 14:01:24 +0200 |
| commit | f216c124dc769dfee14b445aec9e1c0b8852d7a2 (patch) | |
| tree | d47b86fcb82aac4b97f81f2c007b774015734647 /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions