[alsa-devel] [PATCH 2/2] ASoC: dapm: Add a helper to get the platform for DAPM kcontrol

Lars-Peter Clausen lars at metafoo.de
Mon May 26 15:29:03 CEST 2014


On 05/26/2014 02:08 PM, Vinod Koul wrote:
[...]
> + * snd_soc_dapm_kcontrol_platform() - Returns the platform associated to a kcontrol
> + * @kcontrol: The kcontrol
> + */
> +struct snd_soc_platform *snd_soc_dapm_kcontrol_platform(
> +		struct snd_kcontrol *kcontrol)
> +{
> +	return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->platform;
> +}
> +EXPORT_SYMBOL_GPL(snd_soc_dapm_kcontrol_platform);

This conflicts with the series that moves DAPM support to the component 
level [1].

- Lars

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2014-May/076718.html



More information about the Alsa-devel mailing list