miss 4 channels, set clock fixed

This commit is contained in:
Baozhu Zuo 2017-09-26 15:11:21 +00:00
parent 51fbe557f3
commit 0aae7a6ea6
3 changed files with 3 additions and 2 deletions

View file

@ -848,7 +848,8 @@ static int ac108_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_h
static int ac108_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) { static int ac108_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) {
struct ac108_priv *ac108 = snd_soc_dai_get_drvdata(dai); struct ac108_priv *ac108 = snd_soc_dai_get_drvdata(dai);
freq = 24000000;
clk_id = SYSCLK_SRC_PLL;
pr_info("%s :%d\n", __FUNCTION__, freq); pr_info("%s :%d\n", __FUNCTION__, freq);
switch (clk_id) { switch (clk_id) {
case SYSCLK_SRC_MCLK: case SYSCLK_SRC_MCLK:

View file

@ -277,7 +277,7 @@ state.seeed4micvoicec {
control.15 { control.15 {
iface MIXER iface MIXER
name 'Tx1 Channels' name 'Tx1 Channels'
value '1 channels ' value '4 channels '
comment { comment {
access 'read write' access 'read write'
type ENUMERATED type ENUMERATED

Binary file not shown.