ASoC: dapm: Add snd_soc_dapm_kcontrol_widget()
authorMythri P K <mythri.p.k@intel.com>
Tue, 20 Oct 2015 17:00:08 +0000 (22:30 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 14:23:23 +0000 (15:23 +0100)
commit93e39a11520c000c9086215460bf27b35b09c724
treecfbda8eca521c3f84ebc79170d57c62991f877b3
parent9b8ef9f6b3fcccc2b6ce4bb59d8ab55b36a8b8f0
ASoC: dapm: Add snd_soc_dapm_kcontrol_widget()

Given a kcontrol, we may want to access the parent widget
and it's associated data. So export function to return it.

Signed-off-by: Mythri P K <mythri.p.k@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c