Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14266
b: refs/heads/master
c: c0ce5c5
h: refs/heads/master
v: v3
  • Loading branch information
Guido Guenther authored and Paul Mackerras committed Nov 16, 2005
1 parent 94088a6 commit ae309a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5166cc252190be80465f3b4f050e4a0310f71af
refs/heads/master: c0ce5c5228dd17d4e3dd1d15b8d52714262cab70
8 changes: 7 additions & 1 deletion trunk/sound/ppc/tumbler.c
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,14 @@ static void tumbler_resume(pmac_t *chip)
tumbler_set_master_volume(mix);
if (chip->update_automute)
chip->update_automute(chip, 0);
if (mix->headphone_irq >= 0)
if (mix->headphone_irq >= 0) {
unsigned char val;

enable_irq(mix->headphone_irq);
/* activate headphone status interrupts */
val = do_gpio_read(&mix->hp_detect);
do_gpio_write(&mix->hp_detect, val | 0x80);
}
if (mix->lineout_irq >= 0)
enable_irq(mix->lineout_irq);
}
Expand Down

0 comments on commit ae309a7

Please sign in to comment.