summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/generic/simple-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 08df261024cf..dc18c4492955 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -445,7 +445,7 @@ static int simple_for_each_link(struct simple_priv *priv,
445 /* Check if it has dai-link */ 445 /* Check if it has dai-link */
446 node = of_get_child_by_name(top, PREFIX "dai-link"); 446 node = of_get_child_by_name(top, PREFIX "dai-link");
447 if (!node) { 447 if (!node) {
448 node = top; 448 node = of_node_get(top);
449 is_top = 1; 449 is_top = 1;
450 } 450 }
451 451