From: Takashi Iwai Subject: Re: [RFC PATCH] Fixup automute for Realtek auto parser Date: Fri, 16 Sep 2011 11:35:31 +0200 Message-ID: References: <4E73026C.5090307@canonical.com> <4E731539.6050509@canonical.com> 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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 354C81039A4 for ; Fri, 16 Sep 2011 11:35:32 +0200 (CEST) In-Reply-To: <4E731539.6050509@canonical.com> 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: David Henningsson Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Fri, 16 Sep 2011 11:22:01 +0200, David Henningsson wrote: > > [1 ] > On 09/16/2011 10:31 AM, Takashi Iwai wrote: > > At Fri, 16 Sep 2011 10:01:48 +0200, > > David Henningsson wrote: > >> > >> The ~6 months old functionality for configurable automuting is broken > >> for the case that the user has only HP and LO (no speakers) - basically > >> there is an "Automute mode" control, but enabling it does nothing. While > >> fixing that, I also took the liberty of refactoring/rewriting some of > >> that code, in order to make it easier to understand and maintain. > >> > >> Takashi, given you approve/like these changes, I'll go ahead and fix up > >> the quirk files to fit the new variable names. > > > > I'm fine with renames but let's split patches: first fix the bug > > of non-working auto-mute control, then refactoring. The former > > should go to 3.1 while the latter is queued to 3.2. > > Ok. If it also should go to 3.0, feel free to add cc: stable@kernel.org > (hmm, is that working even though kernel.org is down?) > > Here comes the 3.1 part of the patch. If you're happy with it, commit it > and I'll continue with the 3.2 renames. Hm, it's more complicated than I wanted. Could you have an example codec proc or alsa-info.sh file to simulate here? The logic is already there, so a few lines of corrections should suffice to fix the behavior. thanks, Takashi