static int audioreach_route_load(struct snd_soc_component *scomp, int index,
struct snd_soc_dapm_route *route)
{
- struct audioreach_module *src_module, *sink_module;
+ const struct audioreach_module *src_module, *sink_module;
struct snd_ar_control *control;
struct snd_soc_dapm_widget *w;
int i;
}
static void audioreach_connect_sub_graphs(struct q6apm *apm,
- struct snd_ar_control *m1,
- struct snd_ar_control *m2,
+ const struct snd_ar_control *m1,
+ const struct snd_ar_control *m2,
bool connect)
{
struct audioreach_graph_info *info;
}
static bool audioreach_is_vmixer_connected(struct q6apm *apm,
- struct snd_ar_control *m1,
- struct snd_ar_control *m2)
+ const struct snd_ar_control *m1,
+ const struct snd_ar_control *m2)
{
- struct audioreach_graph_info *info;
+ const struct audioreach_graph_info *info;
mutex_lock(&apm->lock);
info = idr_find(&apm->graph_info_idr, m2->graph_id);