]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: add optional pcm_new callback for DAI driver
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Tue, 3 Jan 2017 15:52:51 +0000 (16:52 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jan 2017 15:16:23 +0000 (15:16 +0000)
commit6414aee51eeb0cf59f906de9080dd8c10e5b6a91
tree5c7c4871b4ab0915aa078e7839fda88dd7563bb1
parent3fd41a640c16086c6a9ff25cb101309e1e727452
ASoC: core: add optional pcm_new callback for DAI driver

During probe, DAIs can need to perform some actions that requests
the knowledge of the pcm runtime handle.
The callback is called during DAIs linking, after PCM device creation.
For instance this can be used to add relationship between a DAI pcm
control and the pcm device.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/soc-core.c