]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2fc08e09ddf81067a17588026d9d45a4a0343591
tree1587d26620f119b4bbd64dcde77d4ceaeeeada49
parent359bea9c209dfe1dcf26966a264fe44beead3f87
[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