summaryrefslogtreecommitdiffstats
path: root/sound/ppc/tumbler.c
diff options
context:
space:
mode:
authorRisto Suominen <Risto.Suominen@gmail.com>2011-04-21 21:54:09 +0300
committerTakashi Iwai <tiwai@suse.de>2011-04-22 13:21:01 +0200
commit30282f96d1eef33be774d4ecf4bddba30a6152ec (patch)
treed45eff4eaf7832626f39b8b792070ab6442896dd /sound/ppc/tumbler.c
parente66d74ced12699ed9b7ac62f68b44d842a817ecd (diff)
downloadop-kernel-dev-30282f96d1eef33be774d4ecf4bddba30a6152ec.zip
op-kernel-dev-30282f96d1eef33be774d4ecf4bddba30a6152ec.tar.gz
ALSA: powermac - Correct lineout detection on PowerMac G4 DA
Correct lineout (Pro Speaker) detection on PowerMac G4 Digital Audio (Tumbler). Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/tumbler.c')
-rw-r--r--sound/ppc/tumbler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c
index 961d982..9cea84c 100644
--- a/sound/ppc/tumbler.c
+++ b/sound/ppc/tumbler.c
@@ -1000,7 +1000,7 @@ static void device_change_handler(struct work_struct *work)
chip->lineout_sw_ctl);
if (mix->anded_reset)
msleep(10);
- check_mute(chip, &mix->amp_mute, 1, mix->auto_mute_notify,
+ check_mute(chip, &mix->amp_mute, !IS_G4DA, mix->auto_mute_notify,
chip->speaker_sw_ctl);
} else {
/* unmute speaker, mute others */
OpenPOWER on IntegriCloud