ASoC: topology: Allow a widget to have multiple enum controls
commit1a7dd6e2f192960229dd3113a35c74690e503ea2
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 25 Nov 2016 08:09:10 +0000 (25 16:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Dec 2016 13:39:37 +0000 (5 13:39 +0000)
tree4a4e8043dea6200be155a691ee882f19744e0dc1
parent17e593e32cebd0d79c7317d35b7e3b022fdfcefa
ASoC: topology: Allow a widget to have multiple enum controls

This patch can create multiple enumerated mixer controls for a widget.

Previously topology kernel driver assumes a widget can have only one
emumerated mixer control. We need to remove this restriction for Broxton.
Its firmware modules (widgets) may need multiple enum controls based on
the channel and MIC combination.

No ABI change is needed. The ABI allows a widget to embed multiple
controls.

Reported-by: G Kranthi <gudishax.kranthikumar@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c