]> Pileus Git - ~andy/linux/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)
commitdb8d3af33f7f6e1388a65e847f90bbc8d1ba66ce
tree44911bee8408dcb03eb5f35801165c4d926aeb8b
parent50d4a790e65f5ac91a7b2720a19e80e862b40318
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