projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8937672
)
ASoC: Intel: bytcr-rt5640: enable ASRC
author
Pierre-Louis Bossart
<
[email protected]
>
Mon, 4 Jan 2016 23:20:27 +0000
(17:20 -0600)
committer
Mark Brown
<
[email protected]
>
Tue, 5 Jan 2016 12:37:11 +0000
(12:37 +0000)
Sound is noisy when using BCLK as reference, enable ASRC in rt5640
codec
Signed-off-by: Pierre-Louis Bossart <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/intel/boards/bytcr_rt5640.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/bytcr_rt5640.c
b/sound/soc/intel/boards/bytcr_rt5640.c
index a81389d10e176a632eb20ace585b3834680cf21b..0f2385f6f6ac5423e4820bacbd0cdb4c3c9e8c33 100644
(file)
--- a/
sound/soc/intel/boards/bytcr_rt5640.c
+++ b/
sound/soc/intel/boards/bytcr_rt5640.c
@@
-153,6
+153,11
@@
static int byt_rt5640_init(struct snd_soc_pcm_runtime *runtime)
card->dapm.idle_bias_off = true;
+ rt5640_sel_asrc_clk_src(codec,
+ RT5640_DA_STEREO_FILTER |
+ RT5640_AD_STEREO_FILTER,
+ RT5640_CLK_SEL_ASRC);
+
ret = snd_soc_add_card_controls(card, byt_rt5640_controls,
ARRAY_SIZE(byt_rt5640_controls));
if (ret) {