From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 46DABE00906; Thu, 22 Jan 2015 05:24:09 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8DB69E008EC for ; Thu, 22 Jan 2015 05:23:57 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 4D175F811F2; Thu, 22 Jan 2015 06:23:57 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 91BADF811F0; Thu, 22 Jan 2015 06:23:56 -0700 (MST) Message-ID: <54C0F9FE.6020208@mlbassoc.com> Date: Thu, 22 Jan 2015 06:24:14 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <54BED2E8.70901@mail.bg> <54BEF411.9080503@mail.bg> <54BF0F40.6030407@mail.bg> <54C03C72.3050502@mail.bg> In-Reply-To: Subject: Re: Audio glitch with SGTL5000 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 13:24:09 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-01-21 17:00, Fabio Estevam wrote: > Hi Nikolay, > > On Wed, Jan 21, 2015 at 9:55 PM, Nikolay Dimitrov wrote: > >> Hehe, I'm not sure that you cleared the bit actually :). I think that >> with mask 0 you're not writing to the I2C reg at all - you can check >> the return value of snd_soc_update_bits(), should be 0 (no error, no >> value changed). But would be great if you can also monitor the I2C bus >> traffic to confirm whether you really write or not to this register. >> >> Can you try to change only the last argument and hear whether it makes >> a difference, like this: >> >> snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, 1, 1); >> snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, 1, 0); > > My tests show the following: > > - With SMALL_POP 0 (no click) > - With SMALL_POP 1 (click) > > Yes, this sounds strange. With my patch applied we end up with > SMALL_POP 0 (default value) and I don't hear the click on mx28evk nor > mx53qsb. Are you using headphone or line-out? My i.MX6 boards all suffer from this annoying pop - it would be great to get to the bottom of this. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------