From 26754b0821f5b44bcd58705e4a4a005cdb2a485a Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Wed, 5 Aug 2020 05:26:01 +0100 Subject: [PATCH] Revert previous over-zealous "rename asoc_simple_card_xxx() to asoc_simple_()" Two of them should not have been changed, as they were protected and intended for older kernels. --- seeed-voicecard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seeed-voicecard.c b/seeed-voicecard.c index c8afe51..0d8384d 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -445,7 +445,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node, goto dai_link_of_err; #if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0) - ret = asoc_simple_parse_clk_cpu(cpu, dai_link, cpu_dai); + ret = asoc_simple_card_parse_clk_cpu(cpu, dai_link, cpu_dai); #else ret = asoc_simple_parse_clk_cpu(dev, cpu, dai_link, cpu_dai); #endif @@ -453,7 +453,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node, goto dai_link_of_err; #if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0) - ret = asoc_simple_parse_clk_codec(codec, dai_link, codec_dai); + ret = asoc_simple_card_parse_clk_codec(codec, dai_link, codec_dai); #else ret = asoc_simple_parse_clk_codec(dev, codec, dai_link, codec_dai); #endif