From: Risto Suominen Date: Tue, 20 Jan 2009 20:01:15 +0000 (+0200) Subject: ALSA: powermac - Correct volume controls and HP detection for PMac 8500/9500 X-Git-Tag: v2.6.30-rc1~676^2~3^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4d9e93b1adf2923c0a0cbc545d6e78dec3334faf;p=karo-tx-linux.git ALSA: powermac - Correct volume controls and HP detection for PMac 8500/9500 Correct volume controls and headphone detection for PowerMac 8500/9500 (AWACS). Signed-off-by: Risto Suominen Signed-off-by: Takashi Iwai --- diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c index d89c23e135dc..9abbf645eb67 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"))