From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Date: Mon, 06 Sep 2010 10:25:58 +0000 Subject: Re: [PATCH 2/4 v2] ASoC: Add sh_mobile_hdmi sound support Message-Id: <20100906102557.GE10367@rakim.wolfsonmicro.main> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: Kuninori Morimoto , Paul Mundt , Linux-SH , Linux-ALSA , Liam Girdwood 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.