From 078338c6e8eaf6cc0e072f1ceba8a41269244e6a Mon Sep 17 00:00:00 2001 From: Davide Rizzo Date: Mon, 5 May 2008 14:56:07 +0200 Subject: [PATCH] --- yaml --- r: 96005 b: refs/heads/master c: d6426171bab3403cdcd5613d5549f20b0ab0967c h: refs/heads/master i: 96003: fe724675c48ee19d6d0ca4ad82997455140dab23 v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/s3c24xx-pcm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1e0f23e07c86..febe9a40dd15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e75d050e42d1c61e820f9a35078a2f69e02cc3e +refs/heads/master: d6426171bab3403cdcd5613d5549f20b0ab0967c diff --git a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c b/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c index 6c70a81c730c..7806ae614617 100644 --- a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c @@ -171,7 +171,7 @@ static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream, 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; }