From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jyri Sarha Date: Fri, 27 Jun 2014 11:35:58 +0000 Subject: Re: [PATCH 03/12] OMAPDSS: hdmi_wp: Add function for getting hdmi_wp physical base address Message-Id: <53AD571E.2070508@ti.com> List-Id: References: <71e703f319eacd5a7196d8b34601b52e32b946d3.1403807781.git.jsarha@ti.com> <53AD4A72.5050905@ti.com> In-Reply-To: <53AD4A72.5050905@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tomi Valkeinen , alsa-devel@alsa-project.org, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org Cc: peter.ujfalusi@ti.com, broonie@kernel.org, liam.r.girdwood@linux.intel.com, detheridge@ti.com, jyri.sarha@iki.fi On 06/27/2014 01:41 PM, Tomi Valkeinen wrote: > On 26/06/14 22:20, Jyri Sarha wrote: >> The hdmi_wp physical base address is needed for hdmi audio dma. ... > > Maybe it would be better to have a function which returns the phys > address for audio DMA? Only that one register is needed, right? > > That makes the purpose of the function more obvious, and also if you > return the phys_base, the caller needs to know the offset to the DMA > register, and that offset should be a WP internal value. > Sounds good, I'll do that. Cheers, Jyri