From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2] ASoC: ak4642: simultaneous playback/recorde support Date: Tue, 12 Oct 2010 11:00:06 +0100 Message-ID: <20101012100006.GD30933@rakim.wolfsonmicro.main> References: 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 D88A31039EA for ; Tue, 12 Oct 2010 12:00:07 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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: Kuninori Morimoto Cc: Linux-ALSA , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Tue, Oct 12, 2010 at 01:39:25PM +0900, Kuninori Morimoto wrote: > ak4642_write(codec, 0x09, 0x91); > ak4642_write(codec, 0x0c, 0x91); > - ak4642_write(codec, 0x00, 0x64); > + snd_soc_update_bits(codec, 0x00, 0x64, 0x64); Applied, but given all the magic numbers this is pretty much illegible - it'd be good if when updating the driver you could start to convert the magic numbers into #defines.