projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4acd57c
)
ALSA: AACI: fix recording bug
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 29 Nov 2009 16:39:59 +0000
(16:39 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 30 Nov 2009 13:50:55 +0000
(14:50 +0100)
pcm->r[1].slots is the double rate slot information, not the
capture information. For capture, 'pcm' will already be the
capture ac97 pcm structure.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/arm/aaci.c
b/sound/arm/aaci.c
index 1cb7c282a1fb63d4a1c6dd5da318fe58ff646155..6c160a038b239a7c9e2baa0d3f941c68c7d68398 100644
(file)
--- a/
sound/arm/aaci.c
+++ b/
sound/arm/aaci.c
@@
-521,7
+521,7
@@
static int aaci_pcm_hw_params(struct snd_pcm_substream *substream,
else
err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
params_channels(params),
- aacirun->pcm->r[
1
].slots);
+ aacirun->pcm->r[
0
].slots);
if (err)
goto out;