From: Takashi Iwai Subject: Re: [PATCH - powermac] Correct lineout detection on PowerMac G4 DA Date: Fri, 22 Apr 2011 13:21:46 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 832AA1037F3 for ; Fri, 22 Apr 2011 13:21:49 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Risto Suominen Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Thu, 21 Apr 2011 21:54:09 +0300, Risto Suominen wrote: > > From: Risto Suominen > > Correct lineout (Pro Speaker) detection on PowerMac G4 Digital Audio (Tumbler). > > Signed-off-by: Risto Suominen Applied now. Thanks. Takashi > --- > 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 */ >