S3C2410 pcm audio broken
Liam Girdwood
Acked-byQuoted 11 lines · ing. Davide Rizzo
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 as3c2410_dma_requestreturn value changeSigned-off-by Davide Rizzo <[email protected]>================================================================================
sound/soc/s3c24xx/s3c24xx-pcm.c static int s3c24xx_pcm_hw_params(struct
Quoted 9 lines
sound/soc/s3c24xx/s3c24xx-pcm.c +1
-2@@ -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 <[email protected]>