Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 2.6.25.1] S3C2410 pcm audio broken
       [not found] <481DB2D6.4000304@elpa.it>
@ 2008-05-04 14:30 ` Liam Girdwood
  0 siblings, 0 replies; only message in thread
From: Liam Girdwood @ 2008-05-04 14:30 UTC (permalink / raw)
  To: ing. Davide Rizzo, Takashi Iwai; +Cc: alsa-devel, Linux-arm, ben-linux

On Sun, 2008-05-04 at 14:57 +0200, ing. Davide Rizzo wrote:
> S3C2410 pcm doesn't work.
> s3c2410_dma_request() now returns the channel number and not 0 if OK.
> Davide
> plain text document attachment (s3c24xx-pcm.patch)
> This patch to update to a s3c2410_dma_request return value change
> 
> Signed-off-by: Davide Rizzo <davide@elpa.it>
> ================================================================================
> --- linux-2.6.25.1/sound/soc/s3c24xx/s3c24xx-pcm.c	2008-04-17 04:49:44.000000000 +0200
> +++ linux-2.6.25.1.elpa/sound/soc/s3c24xx/s3c24xx-pcm.c	2008-05-04 09:27:46.000000000 +0200
> @@ -171,7 +171,7 @@ static int s3c24xx_pcm_hw_params(struct 
>  		ret = s3c2410_dma_request(prtd->params->channel,
>  					  prtd->params->client, NULL);
>  
> -		if (ret) {
> +		if (ret < 0) {
>  			DBG(KERN_ERR "failed to get dma channel\n");
>  			return ret;
>  		}
> -------------------------------------------------------------------

Acked-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-04 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <481DB2D6.4000304@elpa.it>
2008-05-04 14:30 ` [PATCH 2.6.25.1] S3C2410 pcm audio broken Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox