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:
6b647d6
)
ASoC: twl4030: pandora hack: remove 96kHz
author
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 14 Apr 2014 00:23:48 +0000
(
03:23
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 14 Apr 2014 00:23:48 +0000
(
03:23
+0300)
256fs clock becomes 128fs for 96kHz, so we effectively get half speed
playback. Also pcm1773 is only specified for upto 50kHz.
XXX: need to find a proper way to do this in mainline..
sound/soc/codecs/twl4030.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/twl4030.c
b/sound/soc/codecs/twl4030.c
index
38a5b51
..
ea099d5
100644
(file)
--- a/
sound/soc/codecs/twl4030.c
+++ b/
sound/soc/codecs/twl4030.c
@@
-2187,7
+2187,7
@@
static struct snd_soc_dai_driver twl4030_dai[] = {
.stream_name = "HiFi Playback",
.channels_min = 2,
.channels_max = 4,
- .rates = TWL4030_RATES | SNDRV_PCM_RATE_96000,
+ .rates = TWL4030_RATES
, //
| SNDRV_PCM_RATE_96000,
.formats = TWL4030_FORMATS,},
.capture = {
.stream_name = "Capture",