projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e75d05
)
[ALSA] soc - fix s3c2410 PCM breakage
author
Davide Rizzo
<davide@elpa.it>
Mon, 5 May 2008 12:56:07 +0000
(14:56 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 5 May 2008 12:12:08 +0000
(14:12 +0200)
S3C2410 pcm doesn't work.
s3c2410_dma_request() now returns the channel number and not 0 if OK.
Signed-off-by: Davide Rizzo <davide@elpa.it>
Acked-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/s3c24xx/s3c24xx-pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/s3c24xx/s3c24xx-pcm.c
b/sound/soc/s3c24xx/s3c24xx-pcm.c
index 6c70a81c730cdbf8aea253a4240cd7007c7cfd68..7806ae614617ca13f2c8c3325cf2daa800820f35 100644
(file)
--- a/
sound/soc/s3c24xx/s3c24xx-pcm.c
+++ b/
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;
}