aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom/storm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-03-27 17:29:20 +0000
committerMark Brown <broonie@kernel.org>2020-03-27 17:29:20 +0000
commit1c521d7e62262793789845989edca57dea24eb7d (patch)
treedd891362188494b9d665229696ffb72187998a00 /sound/soc/qcom/storm.c
parentMerge branch 'asoc-5.6' into asoc-linus (diff)
parentMerge series "ASoC: Intel: add SoundWire machine driver" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: (diff)
downloadlinux-dev-1c521d7e62262793789845989edca57dea24eb7d.tar.xz
linux-dev-1c521d7e62262793789845989edca57dea24eb7d.zip
Merge branch 'asoc-5.7' into asoc-next
Diffstat (limited to 'sound/soc/qcom/storm.c')
-rw-r--r--sound/soc/qcom/storm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c
index e6666e597265..3a6e18709b9e 100644
--- a/sound/soc/qcom/storm.c
+++ b/sound/soc/qcom/storm.c
@@ -39,7 +39,7 @@ static int storm_ops_hw_params(struct snd_pcm_substream *substream,
*/
sysclk_freq = rate * bitwidth * 2 * STORM_SYSCLK_MULT;
- ret = snd_soc_dai_set_sysclk(soc_runtime->cpu_dai, 0, sysclk_freq, 0);
+ ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(soc_runtime, 0), 0, sysclk_freq, 0);
if (ret) {
dev_err(card->dev, "error setting sysclk to %u: %d\n",
sysclk_freq, ret);