提交 64c37d50 编写于 作者: M Mark Brown

Merge remote-tracking branches 'asoc/topic/img' and 'asoc/topic/max98090' into asoc-next

...@@ -2456,7 +2456,7 @@ static int max98090_probe(struct snd_soc_codec *codec) ...@@ -2456,7 +2456,7 @@ static int max98090_probe(struct snd_soc_codec *codec)
if (err) { if (err) {
micbias = M98090_MBVSEL_2V8; micbias = M98090_MBVSEL_2V8;
dev_info(codec->dev, "use default 2.8v micbias\n"); dev_info(codec->dev, "use default 2.8v micbias\n");
} else if (micbias < M98090_MBVSEL_2V2 || micbias > M98090_MBVSEL_2V8) { } else if (micbias > M98090_MBVSEL_2V8) {
dev_err(codec->dev, "micbias out of range 0x%x\n", micbias); dev_err(codec->dev, "micbias out of range 0x%x\n", micbias);
micbias = M98090_MBVSEL_2V8; micbias = M98090_MBVSEL_2V8;
} }
......
...@@ -123,10 +123,8 @@ static int img_prl_out_hw_params(struct snd_pcm_substream *substream, ...@@ -123,10 +123,8 @@ static int img_prl_out_hw_params(struct snd_pcm_substream *substream,
struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai);
unsigned int rate, channels; unsigned int rate, channels;
u32 reg, control_set = 0; u32 reg, control_set = 0;
snd_pcm_format_t format;
rate = params_rate(params); rate = params_rate(params);
format = params_format(params);
channels = params_channels(params); channels = params_channels(params);
switch (params_format(params)) { switch (params_format(params)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册