[alsa-devel] [PATCH 07/14] ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data()

Ola Lilja ola.o.lilja at stericsson.com
Fri Mar 22 16:01:04 CET 2013


Acked.

Regards,
Ola

On 03/22/2013 02:12 PM, Lars-Peter Clausen wrote:

> The driver never uses snd_dmaengine_pcm_get_data(), so there is no need to use
> snd_dmaengine_pcm_set_data().
> 
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> Cc: Ola Lilja <ola.o.lilja at stericsson.com>
> ---
>  sound/soc/ux500/ux500_pcm.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c
> index d000ba2..1ab36fa 100644
> --- a/sound/soc/ux500/ux500_pcm.c
> +++ b/sound/soc/ux500/ux500_pcm.c
> @@ -155,8 +155,6 @@ static int ux500_pcm_open(struct snd_pcm_substream *substream)
>  		return ret;
>  	}
>  
> -	snd_dmaengine_pcm_set_data(substream, dma_cfg);
> -
>  	return 0;
>  }
>  




More information about the Alsa-devel mailing list