#include <sound/core.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include "audio_helper.h"
#define gbaudio_dapm_for_each_direction(dir) …
static void gbaudio_dapm_link_dai_widget(struct snd_soc_dapm_widget *dai_w,
struct snd_soc_card *card)
{ … }
int gbaudio_dapm_link_component_dai_widgets(struct snd_soc_card *card,
struct snd_soc_dapm_context *dapm)
{ … }
static void gbaudio_dapm_free_path(struct snd_soc_dapm_path *path)
{ … }
static void gbaudio_dapm_free_widget(struct snd_soc_dapm_widget *w)
{ … }
int gbaudio_dapm_free_controls(struct snd_soc_dapm_context *dapm,
const struct snd_soc_dapm_widget *widget,
int num)
{ … }
static int gbaudio_remove_controls(struct snd_card *card, struct device *dev,
const struct snd_kcontrol_new *controls,
int num_controls, const char *prefix)
{ … }
int gbaudio_remove_component_controls(struct snd_soc_component *component,
const struct snd_kcontrol_new *controls,
unsigned int num_controls)
{ … }