From cb9bf1c91302d524121f288d6280b3b46d2f2b59 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Fri, 24 Apr 2020 05:13:41 +0100 Subject: [PATCH] adjust for changes in aux_dev In 5.4: commit a48b561d873d1d9fda55782d275eff94ec647863 Author: Kuninori Morimoto Date: Thu Aug 8 14:54:39 2019 +0900 ASoC: soc-core: remove legacy style of aux_dev --- seeed-voicecard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seeed-voicecard.c b/seeed-voicecard.c index 61eb9ab..759752f 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -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); if (!aux_node) 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;