[alsa-devel] [PATCH 3/3] ASoC: OMAP: HDMI: Obtain DMA port from resources

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 14 04:27:14 CET 2012


On Tue, Nov 13, 2012 at 08:30:49PM -0600, Ricardo Neri wrote:
> Instead of defining the address offset of the DMA port for transfers of
> audio samples, obtain this information from the resources of the device.
> This device and its resources are created by the OMAPDSS HDMI driver.

Presumably this needs some other corresponding change in the resource
setup to go in simultaneously...

> -	hdmi_data->dma_params.port_addr =  hdmi_rsrc->start
> -		+ OMAP_HDMI_AUDIO_DMA_PORT;
> +	hdmi_data->dma_params.port_addr =  hdmi_rsrc->start;

...both before and after versions use the resource.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121114/7278eac9/attachment.sig>


More information about the Alsa-devel mailing list