]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: dapm: add a dapm sink widget
authorVinod Koul <vinod.koul@intel.com>
Mon, 23 Nov 2015 15:52:30 +0000 (21:22 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 12:55:37 +0000 (12:55 +0000)
commit56b4437f15ed2003413b857e08740576332e72d7
tree7b0ed450e28c78caddc9001cbd078d6204b40324
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: dapm: add a dapm sink widget

DAPM models various widgets but lacks a sink widget.
DSPs can have modules which take audio data, process it and are
capable of generating events thus acting as a sink of data.

To make the dapm graph complete for such paths we need a dapm
sink widget for these modules, so add a SND_SOC_DAPM_SINK to
declare such a widget.  This widget will be treated as
SND_SOC_DAPM_EP_SINK endpoint in the dapm graph

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c