Re: [PATCH 4/5] [RFC] ALSA ASOC adds destination and source port for dma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Sep 2008 15:23:52 +0530
"ext Arun KS" <arunks@xxxxxxxxxxxxxxxxxxxx> wrote:

> Adds destination and source ports for dma which is required for OMAP1
> 
> Signed-off-by: Arun KS <arunks@xxxxxxxxxxxxxxxxxxxx>
> ---
>  sound/soc/omap/omap-pcm.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
>  	err = omap_request_dma(dma_data->dma_req, dma_data->name,
>  			       omap_pcm_dma_irq, substream, &prtd->dma_ch);
> +
>  	if (!cpu_is_omap1510()) {

Accidentally added line? Actually it pointed out that line after it
should include test for err before linking channel with itself.

	if (!err && !cpu_is_omap1510()) {

> +		dma_params.dst_port		= OMAP_DMA_PORT_MPUI;
>  	} else {
...
> +		dma_params.src_port		= OMAP_DMA_PORT_MPUI;
>  	}

I don't have OMAP1 HW at hand to test but looks ok to me. And this port
variable is used only with OMAP1's.


Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux