diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 6da1616bf776..90e8841e7e33 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -424,7 +424,7 @@ static int soc_hw_match_params(struct snd_pcm_substream *substream, | |||
424 | /* normalise cpu bfs div & codec const mult */ | 424 | /* normalise cpu bfs div & codec const mult */ |
425 | codec_bfs = soc_bfs_rate_to_div(codec_dai_mode->bfs, rate, | 425 | codec_bfs = soc_bfs_rate_to_div(codec_dai_mode->bfs, rate, |
426 | mclk, rtd->codec_dai->dai_runtime.pcmfmt, chn); | 426 | mclk, rtd->codec_dai->dai_runtime.pcmfmt, chn); |
427 | if(codec_dai_mode->bfs & codec_bfs) { | 427 | if(cpu_dai_mode->bfs & codec_bfs) { |
428 | rtd->cpu_dai->dai_runtime.bfs = codec_bfs; | 428 | rtd->cpu_dai->dai_runtime.bfs = codec_bfs; |
429 | rtd->codec_dai->dai_runtime.bfs = codec_dai_mode->bfs; | 429 | rtd->codec_dai->dai_runtime.bfs = codec_dai_mode->bfs; |
430 | } else | 430 | } else |