]> 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)
commit144d50fedf78d069f432560dffb750fe3a5a7ddb
tree44911bee8408dcb03eb5f35801165c4d926aeb8b
parent99607260b5fa0e935a77a291a52752e4fce08c74
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