1
linux/sound/soc/sh
Uwe Kleine-König b6aa179334 ASoC: sh: FSI:: don't check platform_get_irq's return value against zero
platform_get_irq returns -ENXIO on failure, so !irq was probably
always true.  Better use (int)irq <= 0.  Note that a return value of
zero is still handled as error even though this could mean irq0.

This is a followup to 305b3228f9 that
changed the return value of platform_get_irq from 0 to -ENXIO on error.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-12-22 12:33:56 +00:00
..
dma-sh7760.c
fsi-ak4642.c ASoC: Add FSI-AK4642 sound support for SuperH 2009-08-21 11:02:03 +01:00
fsi.c ASoC: sh: FSI:: don't check platform_get_irq's return value against zero 2009-12-22 12:33:56 +00:00
hac.c
Kconfig ASoC: sh: FSI: Remove DMA support 2009-10-30 10:35:30 +00:00
Makefile ASoC: Add FSI-AK4642 sound support for SuperH 2009-08-21 11:02:03 +01:00
sh7760-ac97.c
ssi.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00