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 ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
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 ASoC: Fix some missing dai_ops conversions 2009-03-16 14:13:57 +00:00
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 ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
ssi.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00