OSDN Git Service

ASoC: Return error if the function does not support multi-cpu
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 25 Feb 2020 13:39:16 +0000 (21:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Feb 2020 17:35:04 +0000 (17:35 +0000)
commit6e1276a5e613d25af71e3494b2dcb331d24f06ce
tree8cd4d4b736ffb3997e4a90c7c4a5fdd4999ea18f
parentde6214a33633d8ce1c1490336f8e798e75ccd004
ASoC: Return error if the function does not support multi-cpu

Multi cpu is not supported by all functions yet. Add an error message
and return.

Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200225133917.21314-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c
sound/soc/soc-generic-dmaengine-pcm.c
sound/soc/soc-pcm.c