From 72d3c9e2f6f1bfe4b3f21e5a4bb6655e87643e85 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Fri, 24 Apr 2020 04:03:19 +0100 Subject: [PATCH] DAI and CELL not used in macros. In v5.2: commit 8f7f298a333761a528e103cda3b42f3a416ad1ee Author: Kuninori Morimoto Date: Wed Mar 20 13:56:36 2019 +0900 ASoC: simple-card-utils: separate asoc_simple_card_parse_dai() --- seeed-voicecard.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/seeed-voicecard.c b/seeed-voicecard.c index 6391d2e..f709921 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -321,13 +321,12 @@ static int seeed_voice_card_dai_link_of(struct device_node *node, of_property_read_u32(node, "mclk-fs", &dai_props->mclk_fs); - ret = asoc_simple_parse_cpu(cpu, dai_link, - DAI, CELL, &single_cpu); + ret = asoc_simple_parse_cpu(cpu, dai_link, &single_cpu); if (ret < 0) goto dai_link_of_err; #if _SINGLE_CODEC - ret = asoc_simple_parse_codec(codec, dai_link, DAI, CELL); + ret = asoc_simple_parse_codec(codec, dai_link); if (ret < 0) goto dai_link_of_err; #else @@ -339,7 +338,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node, dev_dbg(dev, "dai_link num_codecs = %d\n", dai_link->num_codecs); #endif - ret = asoc_simple_parse_platform(plat, dai_link, DAI, CELL); + ret = asoc_simple_parse_platform(plat, dai_link); if (ret < 0) goto dai_link_of_err;