diff --git a/seeed-voicecard.c b/seeed-voicecard.c index ebd793a..8ddf691 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -311,7 +311,7 @@ static int asoc_simple_parse_dai(struct device_node *node, * 2) user need to rebind Sound Card everytime * if he unbinded CPU or Codec. */ - ret = snd_soc_of_get_dai_name(node, &dlc->dai_name); + ret = snd_soc_of_get_dai_name(node, &dlc->dai_name, 0); if (ret < 0) return ret;