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)
commit25f7b701c20db3e9ae09e28dd652949bd977e5cd
tree5c7c4871b4ab0915aa078e7839fda88dd7563bb1
parentc82dbe5c055e4d246bd07c4d7b24801c9445c241
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