GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / staging / greybus / audio_helper.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Greybus Audio Sound SoC helper APIs
4  */
5
6 #ifndef __LINUX_GBAUDIO_HELPER_H
7 #define __LINUX_GBAUDIO_HELPER_H
8
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,
13                                int num);
14 int gbaudio_remove_component_controls(struct snd_soc_component *component,
15                                       const struct snd_kcontrol_new *controls,
16                                       unsigned int num_controls);
17 #endif