1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Greybus Audio Sound SoC helper APIs
6 #ifndef __LINUX_GBAUDIO_HELPER_H
7 #define __LINUX_GBAUDIO_HELPER_H
9 int gbaudio_dapm_link_component_dai_widgets(struct snd_soc_card *card,
10 struct snd_soc_dapm_context *dapm);
11 int gbaudio_dapm_free_controls(struct snd_soc_dapm_context *dapm,
12 const struct snd_soc_dapm_widget *widget,
14 int gbaudio_remove_component_controls(struct snd_soc_component *component,
15 const struct snd_kcontrol_new *controls,
16 unsigned int num_controls);