diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-01-22 02:13:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-03 18:41:39 +0100 |
commit | e04e7b8ccd4912e6c823bf7e66f302a53396fb77 (patch) | |
tree | 7e3748464cc6ebd7e095a103b577e07f1942714b /sound/soc/soc-pcm.c | |
parent | ASoC: topology: KUnit: Convert from cpu to data format (diff) | |
download | linux-e04e7b8ccd4912e6c823bf7e66f302a53396fb77.tar.xz linux-e04e7b8ccd4912e6c823bf7e66f302a53396fb77.zip |
ASoC: soc-pcm: tidyup pcm setting
Current soc_new_pcm() setups pcm randomly.
This patch tidyup it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/878s8laigt.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/soc-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 7079a301ec31..d5f1f653ec9b 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -2760,8 +2760,8 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) else rtd->close_delayed_work_func = snd_soc_close_delayed_work; - pcm->nonatomic = rtd->dai_link->nonatomic; rtd->pcm = pcm; + pcm->nonatomic = rtd->dai_link->nonatomic; pcm->private_data = rtd; if (rtd->dai_link->no_pcm || rtd->dai_link->params) { |