[ALSA] Correct detection of iBook G4 1420Mhz soundcard
authorVincent Pelletier <subdino2004@yahoo.fr>
Wed, 7 Sep 2005 11:28:14 +0000 (13:28 +0200)
committerJaroslav Kysela <perex@suse.cz>
Mon, 12 Sep 2005 08:42:12 +0000 (10:42 +0200)
PPC PMAC driver
Here is a patch to correct detection of the soundcard on my iBook model
(bought really recently).
Without that fix, there were only andui in the headphone, and the mixer
was totaly non functional.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/pmac.c

index c89e82e..9774e56 100644 (file)
@@ -988,6 +988,7 @@ static int __init snd_pmac_detect(pmac_t *chip)
                case 0x33:
                case 0x29:
                case 0x24:
+               case 0x5c:
                        chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
                        chip->model = PMAC_SNAPPER;
                        chip->can_byte_swap = 0; /* FIXME: check this */