diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-07-25 16:12:51 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-08-03 15:21:20 +0200 |
commit | 2566d36ab4f0b90141bb59a5f7342255751fbf45 (patch) | |
tree | 086251f284de9f559235164e3ab0594e6456b2ec /sound/mips | |
parent | [ALSA] Conversions from kmalloc+memset to k(z|c)alloc (diff) | |
download | linux-2566d36ab4f0b90141bb59a5f7342255751fbf45.tar.xz linux-2566d36ab4f0b90141bb59a5f7342255751fbf45.zip |
[ALSA] aoa: feature gpio layer: fix IRQ access
The IRQ rework caused some hiccups here, in some cases we call
get_irq without a device node. This patch makes it catch that
case and return NO_IRQ when it happens, along with changing the
place where the irq is checked to check for NO_IRQ instead of -1.
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions