diff options
-rw-r--r-- | sound/soc/generic/simple-card.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 3f2e5807d7eb..383a4a18d51f 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -156,8 +156,7 @@ static int simple_card_dai_link_of(struct device_node *node, | |||
156 | char *prefix = ""; | 156 | char *prefix = ""; |
157 | int ret; | 157 | int ret; |
158 | 158 | ||
159 | if (!strcmp("sound", node->name)) | 159 | prefix = "simple-audio-card,"; |
160 | prefix = "simple-audio-card,"; | ||
161 | 160 | ||
162 | daifmt = snd_soc_of_parse_daifmt(node, prefix, | 161 | daifmt = snd_soc_of_parse_daifmt(node, prefix, |
163 | &bitclkmaster, &framemaster); | 162 | &bitclkmaster, &framemaster); |