From: Takashi Iwai Subject: Re: [PATCH] [ALSA] Fix CS4270 volume control and optimize I2C operations Date: Tue, 11 Sep 2007 00:46:18 +0200 Message-ID: References: <11894627422900-git-send-email-timur@freescale.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 (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DCA44103803 for ; Tue, 11 Sep 2007 00:46:18 +0200 (CEST) In-Reply-To: <11894627422900-git-send-email-timur@freescale.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: Timur Tabi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 10 Sep 2007 17:19:02 -0500, Timur Tabi wrote: > > The volume control for the CS4270 ASoC driver was inverted - raising the > volume level with alsamixer would decrease the actual volume. > > This patch also improves the performance of the I2C code (used to change > register settings) by only performing an I2C write if the new value is > different from the value that's in the register cache. > > Signed-off-by: Timur Tabi > --- > > This patch applies to the 'mm' branch of perex/alsa.git. I would like this > patch to be part of ALSA 1.0.15. > > sound/soc/codecs/cs4270.c | 21 +++++++++++++-------- > 1 files changed, 13 insertions(+), 8 deletions(-) Thanks, applied now to ALSA tree. Takashi