From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomoya MORINAGA Subject: Re: [PATCH v6] sound/soc/codecs: add LAPIS Semiconductor ML26124 Date: Thu, 8 Mar 2012 11:24:36 +0900 Message-ID: References: <1329976011-2251-1-git-send-email-tomoya.rohm@gmail.com> <20120229235147.GM8295@opensource.wolfsonmicro.com> <20120302125819.GE3230@opensource.wolfsonmicro.com> <20120306100012.GC19635@opensource.wolfsonmicro.com> <20120306121222.GK19635@opensource.wolfsonmicro.com> <20120307114811.GF3107@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-pw0-f51.google.com (mail-pw0-f51.google.com [209.85.160.51]) by alsa0.perex.cz (Postfix) with ESMTP id 757F910B951 for ; Thu, 8 Mar 2012 03:24:38 +0100 (CET) Received: by pbcwy12 with SMTP id wy12so1348367pbc.38 for ; Wed, 07 Mar 2012 18:24:36 -0800 (PST) In-Reply-To: <20120307114811.GF3107@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: Mark Brown Cc: alsa-devel@alsa-project.org, qi.wang@intel.com, Takashi Iwai , linux-kernel@vger.kernel.org, yong.y.wang@intel.com, kok.howg.ewe@intel.com, Liam Girdwood , joel.clark@intel.com List-Id: alsa-devel@alsa-project.org On Wed, Mar 7, 2012 at 8:48 PM, Mark Brown wrote: >> If possible, I want to use framework features. However, I judged it is >> not possible. >> Let me confirm again. >> As I said before, all ML26124 registers need to be accessed by >> different address when read and write. >> Like below >> R =A0 =A0 =A0 W >> $00h $01h Sampling setting >> $02h $03h PLL setting >> ... >> Even so, can I use framework features ? > No, in which case (to repeat what I said previously) you need to make > the code *much* clearer so the reader can understand what it is doing > and why it's having to open code this stuff. I understand you agree to use ml26124_update_bits(), right ? If so, do you mean that I should just add explanation (like as I explained before) why the function() is necessary to above prototype of ml26124_update_bits()= ? thanks. -- = ROHM Co., Ltd. tomoya