Skip to content

Commit

Permalink
Merge remote-tracking branches 'asoc/topic/img' and 'asoc/topic/max98…
Browse files Browse the repository at this point in the history
…090' into asoc-next
  • Loading branch information
broonie committed Feb 19, 2017
3 parents 96f0e8a + bfe48df + 1c445a4 commit 64c37d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -2456,7 +2456,7 @@ static int max98090_probe(struct snd_soc_codec *codec)
if (err) {
micbias = M98090_MBVSEL_2V8;
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);
micbias = M98090_MBVSEL_2V8;
}
Expand Down
2 changes: 0 additions & 2 deletions sound/soc/img/img-parallel-out.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
unsigned int rate, channels;
u32 reg, control_set = 0;
snd_pcm_format_t format;

rate = params_rate(params);
format = params_format(params);
channels = params_channels(params);

switch (params_format(params)) {
Expand Down

0 comments on commit 64c37d5

Please sign in to comment.