Skip to content

Commit

Permalink
fix machine hw param fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ardonpan authored and csjamesdeng committed Aug 29, 2018
1 parent 976c41e commit d1d57e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/sunxi/sunxi-snddaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static int sunxi_snddaudio_hw_params(struct snd_pcm_substream *substream,

if (ret < 0) {
dev_warn(card->dev, "codec dai set fmt failed\n");
return ret;
//return ret;
}

/* set system clk div */
Expand All @@ -107,7 +107,7 @@ static int sunxi_snddaudio_hw_params(struct snd_pcm_substream *substream,
ret = snd_soc_dai_set_clkdiv(codec_dai, 0, clk_div);
if (ret < 0) {
dev_warn(card->dev, "codec_dai set clkdiv failed\n");
return ret;
//return ret;
}
return 0;
}
Expand Down

0 comments on commit d1d57e4

Please sign in to comment.