[alsa-devel] [PATCH RFC v3 4/4] ASoC: return error if the function is not support multi cpu yet.

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Jan 17 12:24:44 CET 2020


> @@ -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?


More information about the Alsa-devel mailing list