From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Subject: Re: Regression caused by "ASoC: core: Rework SOC_DOUBLE_R_SX_TLV add SOC_SINGLE_SX_TLV" Date: Thu, 30 Jan 2014 18:16:07 +0100 Message-ID: <20140130181607.6a694b8f@skate> References: <20140130144807.5b102b28@skate> <20140130160554.694a8a84@skate> <20140130175658.11469081@skate> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by alsa0.perex.cz (Postfix) with ESMTP id DCF95265624 for ; Thu, 30 Jan 2014 18:16:09 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Brian Austin Cc: Lior Amsalem , alsa-devel@alsa-project.org, Liam Girdwood , Mark Brown , Ezequiel Garcia , Gregory =?UTF-8?B?Q2zDqW1lbnQ=?= List-Id: alsa-devel@alsa-project.org Dear Brian Austin, On Thu, 30 Jan 2014 11:13:36 -0600, Brian Austin wrote: > > I've tried again, and I confirm the problem. When the PCM is muted, I > > can only toggle it between the values 62 and 64. When the PCM is > > unmuted, I can only toggle it between the values 60 and 61. > OK, that is very odd. I will take a look when I get a chance. I have an > L51 board, but need to do some other stuff first. Ok, thanks! > > The ugly attached patch fixes the problem for me (the patch is a > > partial revert of your patch). > > > > Thanks! but... > > SOC_DOUBLE_R_SX_TLV("Analog Playback Volume", > CS42L51_AOUTA_VOL, CS42L51_AOUTB_VOL, > - 0, 0x34, 0xE4, aout_tlv), > + 8, 0xffffff19, 0x18, aout_tlv), > SOC_DOUBLE_R_SX_TLV("ADC Mixer Volume", > > shifting 8 on an 8bit register? These values are just the ones that were here before your commit 1d99f2436d0d1c7741d6dfd9d27b5376cdbbca40. I didn't invent anything, just reverted partially your commit. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com