]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: DAPM: Add APIs to create individual DAPM controls.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Mon, 25 May 2015 17:21:17 +0000 (18:21 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2015 10:24:33 +0000 (11:24 +0100)
commit87127760affc89cbbba268de8638e1af9d9a9af8
tree1c73db5a6f18b8b58db029355da03a59a2769dc9
parent805d4cd01663957539338a1fddf596d2c99acb14
ASoC: DAPM: Add APIs to create individual DAPM controls.

The topology core needs to be able to create individual widget controls at
runtime and driver init. Add a regular locked and unlocked API calls to
facilitate this requirement.

The unlocked call is used by the topology core during component driver
probing where the card dapm_mutex is held by the ASoC core and the locked
version at non component driver probe time.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c