Correct lineout detection on PowerMac G4 DA
PATCH 1/1 Correct lineout detection on PowerMac G4 DA
From: Risto Suominen <[email protected]>
Correct lineout (Pro Speaker) detection on PowerMac G4 Digital Audio (Tumbler).
Signed-off-by Risto Suominen <[email protected]>
---
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
alsa-kernel/ppc/tumbler.c renamed from alsa-kernel/ppc/tumbler.c.org +1 -1
@@ -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 */
At Thu, 21 Apr 2011 21:54:09 +0300,
Quoted 6 lines · Risto Suominen
From: Risto Suominen <[email protected]>
Correct lineout (Pro Speaker) detection on PowerMac G4 Digital Audio (Tumbler).
Signed-off-by Risto Suominen <[email protected]>
Applied now. Thanks.
Takashi
Quoted 18 lines
---
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.diffalsa-kernel/ppc/tumbler.c renamed from alsa-kernel/ppc/tumbler.c.org +1
-1@@ -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 */