summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-11-29 17:17:10 +0100
committerMark Brown <broonie@kernel.org>2017-12-01 14:04:51 +0100
commit8d6fb0bce2021baf056344cb0abb2df00c5fe6d5 (patch)
tree95bad22c1484173b8e990af44e7d9e1d7a9bb175 /sound/soc/soc-core.c
parentLinux 4.15-rc1 (diff)
downloadlinux-8d6fb0bce2021baf056344cb0abb2df00c5fe6d5.tar.xz
linux-8d6fb0bce2021baf056344cb0abb2df00c5fe6d5.zip
ASoC: ep93xx-ac97: Fix platform_get_irq's error checking
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions