git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da7754
)
ASoC: wm8994: Ensure there are enough BCLKs for four channels
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 22 Jun 2012 16:21:17 +0000
(17:21 +0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:48 +0000
(
00:24
+0100)
commit
b8edf3e5522735c8ce78b81845f7a1a2d4a08626
upstream.
Otherwise if someone tries to use all four channels on AIF1 with the
device in master mode we won't be able to clock out all the data.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index
de61b8a
..
98c5774
100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-2508,7
+2508,7
@@
static int wm8994_hw_params(struct snd_pcm_substream *substream,
return -EINVAL;
}
- bclk_rate = params_rate(params) *
2
;
+ bclk_rate = params_rate(params) *
4
;
switch (params_format(params)) {
case SNDRV_PCM_FORMAT_S16_LE:
bclk_rate *= 16;