Skip to content

Commit

Permalink
[ALSA] snd-powermac: enable headphone detection
Browse files Browse the repository at this point in the history
Enable port change interrupt while initialising AWACS, Screamer, and
Burgundy chipsets.

Signed-off-by: Risto Suominen <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
ristosu authored and tiwai committed Apr 24, 2008
1 parent 369b240 commit 9a4f20f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/ppc/pmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1300,9 +1300,9 @@ int __init snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return)

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
Expand Down

0 comments on commit 9a4f20f

Please sign in to comment.