From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/4 v2] ASoC: Add sh_mobile_hdmi sound support Date: Mon, 6 Sep 2010 11:25:58 +0100 Message-ID: <20100906102557.GE10367@rakim.wolfsonmicro.main> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Guennadi Liakhovetski Cc: Kuninori Morimoto , Paul Mundt , Linux-SH , Linux-ALSA , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Mon, Sep 06, 2010 at 10:27:56AM +0200, Guennadi Liakhovetski wrote: > On Tue, 31 Aug 2010, Kuninori Morimoto wrote: > > +static int sh_hdmi_snd_write(struct snd_soc_codec *codec, > > + unsigned int reg, > > + unsigned int value) > > +{ > > + struct sh_hdmi *hdmi = snd_soc_codec_get_drvdata(codec); > > + > > + hdmi_write(hdmi, value, reg); > > + return 0; > > +} > Are these two actually needed? As long as you don't have a register cache > - no need for these? Something needs to translate the ASoC register I/O functions into what the HDMI layer code is expecting.