[alsa-devel] [PATCH - powermac] Correct lineout detection on PowerMac G4 DA
Risto Suominen
risto.suominen at gmail.com
Thu Apr 21 20:54:09 CEST 2011
From: Risto Suominen <Risto.Suominen at gmail.com>
Correct lineout (Pro Speaker) detection on PowerMac G4 Digital Audio (Tumbler).
Signed-off-by: Risto Suominen <Risto.Suominen at gmail.com>
---
Kernel version 2.6.32 (probably any 2.6), ALSA 1.0.23.
The patch is available here: too:
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.23-p1.diff
--- a/alsa-kernel/ppc/tumbler.c.org 2010-04-16 14:10:10.000000000 +0300
+++ b/alsa-kernel/ppc/tumbler.c 2011-04-15 20:50:30.000000000 +0300
@@ -1000,7 +1000,7 @@ static void device_change_handler(struct
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 */
More information about the Alsa-devel
mailing list