]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: ep93xx-ac97: Fix platform_get_irq's error checking
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 29 Nov 2017 16:17:10 +0000 (21:47 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 1 Dec 2017 13:04:51 +0000 (13:04 +0000)
commit8d6fb0bce2021baf056344cb0abb2df00c5fe6d5
tree95bad22c1484173b8e990af44e7d9e1d7a9bb175
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
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>
sound/soc/cirrus/ep93xx-ac97.c