[alsa-devel] [PATCH 001a/003] snd-powermac: enable headphone detection
From: Risto Suominen Risto.Suominen@gmail.com
Enable port change interrupt while initialising AWACS, Screamer, and Burgundy chipsets.
Signed-off-by: Risto Suominen Risto.Suominen@gmail.com --- Kernel version 2.6.25-rc8 (probably any 2.6)
--- sound/ppc/pmac.c.orig 2008-04-05 17:45:08.000000000 +0300 +++ sound/ppc/pmac.c 2008-04-07 12:18:47.503077312 +0300 @@ -1300,9 +1304,9 @@ int __init snd_pmac_new(struct snd_card
snd_pmac_sound_feature(chip, 1);
- /* reset */ - if (chip->model == PMAC_AWACS) - out_le32(&chip->awacs->control, 0x11); + /* reset & enable interrupts */ + if (chip->model <= PMAC_BURGUNDY) + out_le32(&chip->awacs->control, chip->control_mask);
/* Powerbooks have odd ways of enabling inputs such as an expansion-bay CD or sound from an internal modem
participants (1)
-
Risto Suominen