adjust for changes in aux_dev
In 5.4: commit a48b561d873d1d9fda55782d275eff94ec647863 Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Date: Thu Aug 8 14:54:39 2019 +0900 ASoC: soc-core: remove legacy style of aux_dev
This commit is contained in:
parent
37a37a6d16
commit
cb9bf1c913
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ static int seeed_voice_card_parse_aux_devs(struct device_node *node,
|
||||||
aux_node = of_parse_phandle(node, PREFIX "aux-devs", i);
|
aux_node = of_parse_phandle(node, PREFIX "aux-devs", i);
|
||||||
if (!aux_node)
|
if (!aux_node)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
priv->snd_card.aux_dev[i].codec_of_node = aux_node;
|
priv->snd_card.aux_dev[i].dlc.of_node = aux_node;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->snd_card.num_aux_devs = n;
|
priv->snd_card.num_aux_devs = n;
|
||||||
|
|
Loading…
Reference in a new issue