Skip to content

Commit 0ce0ab9

Browse files
committed
ASoC: soc-pcm: fix 2 minor merge issues
Differences with the sof-dev-rebase branch Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 1bb3121 commit 0ce0ab9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sound/soc/soc-pcm.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,6 @@ static int soc_pcm_open(struct snd_pcm_substream *substream)
907907
config_err:
908908
for_each_rtd_codec_dai(rtd, i, codec_dai)
909909
snd_soc_dai_shutdown(codec_dai, substream);
910-
i = rtd->num_cpus;
911910
cpu_dai_err:
912911
for_each_rtd_cpu_dai(rtd, i, cpu_dai)
913912
snd_soc_dai_shutdown(cpu_dai, substream);
@@ -2853,12 +2852,6 @@ static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new)
28532852
return -EINVAL;
28542853
}
28552854

2856-
if (fe->num_cpus > 1) {
2857-
dev_err(fe->dev,
2858-
"%s doesn't support Multi CPU yet\n", __func__);
2859-
return -EINVAL;
2860-
}
2861-
28622855
if (!fe->dai_link->dynamic)
28632856
return 0;
28642857

0 commit comments

Comments
 (0)