> @@ -810,9 +810,10 @@ int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)
> int playback = 0, capture = 0;
> int i;
>
> - if (rtd->num_codecs > 1) {
> + if (rtd->num_cpus > 1 ||
> + rtd->num_codecs) {
this should be num_codecs > 1?