[ALSA] ad1816a: Fix modprobe snd_mpu401 && modprobe snd_ad1816a
authorRask Ingemann Lambertsen <rask@sygehus.dk>
Mon, 19 Mar 2007 10:38:11 +0000 (11:38 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:49 +0000 (16:55 +0200)
commit2944275b146f4c0bb229a862bd8b3930c157d2a1
tree1587d26620f119b4bbd64dcde77d4ceaeeeada49
parent1b60f6b0904737cb76cd4cd46b57592318c9a20e
[ALSA] ad1816a: Fix modprobe snd_mpu401 && modprobe snd_ad1816a

   The ad1816a driver fails if the mpu401 driver has been loaded first. This
patch against linux 2.6.20 fixes it by just ignoring the MPU-401 device in
that case, so that the rest of the sound card can be used. The ad1816a
driver already handles the MPU-401 device being unavailable due to lack of
resources in the same way.

Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/isa/ad1816a/ad1816a.c