From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: WM8983: Initial driver Date: Fri, 15 Jul 2011 23:47:41 +0900 Message-ID: <20110715144738.GC11154@opensource.wolfsonmicro.com> References: <1310734290-21216-1-git-send-email-dp@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 1587D244FF for ; Fri, 15 Jul 2011 16:47:52 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1310734290-21216-1-git-send-email-dp@opensource.wolfsonmicro.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: Dimitris Papastamos Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Liam Girdwood , lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Fri, Jul 15, 2011 at 01:51:30PM +0100, Dimitris Papastamos wrote: > The WM8983 is a low power, high quality stereo CODEC > designed for portable multimedia applications. Highly flexible > analogue mixing functions enable new application features, > combining hi-fi quality audio with voice communication. I've applied this but there's one issue you should fix up later: > + /* mute all outputs and set PGAs to minimum gain */ > + for (i = WM8983_LOUT1_HP_VOLUME_CTRL; > + i <= WM8983_OUT4_MONO_MIX_CTRL; ++i) > + snd_soc_update_bits(codec, i, 0x40, 0x40); I know you're doing this to minimise artifacts on initial bias raise but we should really be doing this without affecting the default register settings.