From: Johannes Berg Date: Tue, 25 Jul 2006 14:12:51 +0000 (+0200) Subject: [ALSA] aoa: feature gpio layer: fix IRQ access X-Git-Tag: v2.6.18-rc4~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2566d36ab4f0b90141bb59a5f7342255751fbf45;p=pandora-kernel.git [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 Signed-off-by: Johannes Berg Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed