diff options
author | Risto Suominen <Risto.Suominen@gmail.com> | 2008-04-16 07:15:38 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:38 -0400 |
commit | 9a4f20fcbd9cd89d8e4cfcaece81802c19d467ae (patch) | |
tree | fe6bd427a1237da8cb2cfe74439ff75601371f4d /sound | |
parent | 369b240d6391aef41d376c9e8769fd939c7c6c4d (diff) |
[ALSA] snd-powermac: enable headphone detection
Enable port change interrupt while initialising AWACS, Screamer, and
Burgundy chipsets.
Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/ppc/pmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 613a565e04de..6f68ac9982e4 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -1300,9 +1300,9 @@ int __init snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return) | |||
1300 | 1300 | ||
1301 | snd_pmac_sound_feature(chip, 1); | 1301 | snd_pmac_sound_feature(chip, 1); |
1302 | 1302 | ||
1303 | /* reset */ | 1303 | /* reset & enable interrupts */ |
1304 | if (chip->model == PMAC_AWACS) | 1304 | if (chip->model <= PMAC_BURGUNDY) |
1305 | out_le32(&chip->awacs->control, 0x11); | 1305 | out_le32(&chip->awacs->control, chip->control_mask); |
1306 | 1306 | ||
1307 | /* Powerbooks have odd ways of enabling inputs such as | 1307 | /* Powerbooks have odd ways of enabling inputs such as |
1308 | an expansion-bay CD or sound from an internal modem | 1308 | an expansion-bay CD or sound from an internal modem |