[alsa-devel] [PATCH - snd-powermac 3/5] Correct volume controls and HP detection for PMac 8500/9500

Risto Suominen Risto.Suominen at gmail.com
Tue Jan 20 21:01:15 CET 2009


Correct volume controls and headphone detection for PowerMac 8500/9500 (AWACS).

Signed-off-by: Risto Suominen <Risto.Suominen at gmail.com>

diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c
index d89c23e..9abbf64 100644
--- a/sound/ppc/awacs.c
+++ b/sound/ppc/awacs.c
@@ -766,7 +766,9 @@ static void snd_pmac_awacs_resume(struct snd_pmac *chip)
 }
 #endif /* CONFIG_PM */
 
-#define IS_PM7500 (machine_is_compatible("AAPL,7500"))
+#define IS_PM7500 (machine_is_compatible("AAPL,7500") \
+		|| machine_is_compatible("AAPL,8500") \
+		|| machine_is_compatible("AAPL,9500"))
 #define IS_PM5500 (machine_is_compatible("AAPL,e411"))
 #define IS_BEIGE (machine_is_compatible("AAPL,Gossamer"))
 #define IS_IMAC1 (machine_is_compatible("PowerMac2,1"))
-- 
1.5.4.3



More information about the Alsa-devel mailing list