aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-06-30 20:43:50 +0000
committerMark Brown <[email protected]>2017-07-17 11:06:04 +0000
commit27d30400c448264c1ac9434cb836de0c230af213 (patch)
treef83af122e1e26a3a2f585665e6a36dc335887bc1 /tools/perf/builtin-script.c
parentLinux v4.13-rc1 (diff)
downloadkernel-27d30400c448264c1ac9434cb836de0c230af213.tar.gz
kernel-27d30400c448264c1ac9434cb836de0c230af213.zip
ASoC: spear: fix error return code in spdif_in_probe()
platform_get_irq() returns an error code, but the spdif_in driver ignores it and always returns -EINVAL. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af 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: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions