]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_ssi: Fix irq_of_parse_and_map() return value check
authorGuenter Roeck <linux@roeck-us.net>
Thu, 3 Oct 2013 04:15:22 +0000 (21:15 -0700)
committerMark Brown <broonie@linaro.org>
Thu, 3 Oct 2013 15:57:54 +0000 (16:57 +0100)
commit6075026bd2fc86663c87fa02e47773e2299e9c02
tree44911bee8408dcb03eb5f35801165c4d926aeb8b
parent324b9565aa2eab66aaa8479df27a9e427141df9d
ASoC: fsl_ssi: Fix irq_of_parse_and_map() return value check

irq_of_parse_and_map() returns 0 on error, not NO_IRQ.

Fix the following xtensa:allmodconfig build error.

sound/soc/fsl/fsl_ssi.c:705:26: error: 'NO_IRQ' undeclared (first use in this function)
make[4]: *** [sound/soc/fsl/fsl_ssi.o] Error 1

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c