aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKyle Moffett <mrmacman_g4@mac.com>2005-11-30 04:54:28 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:01 -0500
commit7cd01dd840824e7c6023ad1dbfdb94a2183a7adb (patch)
treede69f9433e271d4c9a4cf35a7fd9a3f898e7f1a4 /sound
parent9d70d91c4663d580bd18317dac3c7dc3bee79480 (diff)
[ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook
Modules: PPC PMAC driver The audio chip in my Spring 2005 17' PowerBook was incorrectly recognized as an AWACS chip. This adds the chip ID to the snd_powermac driver such that it is recognized as a Toonie (I don't know if that's correct, but it's the only one that makes it work at all). and sorts the ID lists numerically. NOTE: This chip is only minimally supported at this point; it has system beep support and very low volume speaker output, and that's about it. Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/ppc/pmac.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 4f0a4204516d..d70292cd1775 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -973,11 +973,11 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
973 * single frequency until proper i2s control is implemented 973 * single frequency until proper i2s control is implemented
974 */ 974 */
975 switch(layout_id) { 975 switch(layout_id) {
976 case 0x48:
977 case 0x46:
978 case 0x33:
979 case 0x29:
980 case 0x24: 976 case 0x24:
977 case 0x29:
978 case 0x33:
979 case 0x46:
980 case 0x48:
981 case 0x50: 981 case 0x50:
982 case 0x5c: 982 case 0x5c:
983 chip->num_freqs = ARRAY_SIZE(tumbler_freqs); 983 chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
@@ -986,6 +986,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
986 chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */ 986 chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */
987 break; 987 break;
988 case 0x3a: 988 case 0x3a:
989 case 0x40:
989 chip->num_freqs = ARRAY_SIZE(tumbler_freqs); 990 chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
990 chip->model = PMAC_TOONIE; 991 chip->model = PMAC_TOONIE;
991 chip->can_byte_swap = 0; /* FIXME: check this */ 992 chip->can_byte_swap = 0; /* FIXME: check this */