From a7feadf3c493ed61c0d9481626f9c5506f87ff85 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:09:41 +0000 Subject: tracking-2.6.25-changed-s3c2410_dma_request-reurn.patch s3c2410_dma_request used to return 0 for OK and something else for error, now it returns -ve error code or +ve dma channel index + flag Signed-off-by: Andy Green --- sound/soc/s3c24xx/s3c24xx-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c index e13e614bada..bfd0abaac88 100644 --- a/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c @@ -168,7 +168,7 @@ static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream, prtd->params->client, NULL); if (ret < 0) { - DBG(KERN_ERR "failed to get dma channel\n"); + DBG(KERN_ERR "failed to get dma channel: %d\n", ret); return ret; } } -- cgit v1.2.3