]> git.karo-electronics.de Git - linux-beck.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)
commit02aa78abec6ebe2ae4a2ec0687758a4e58ee9507
tree1c73db5a6f18b8b58db029355da03a59a2769dc9
parent6b43c2eb9a7907c3e7ab9210ff6c62322d81e18c
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