summaryrefslogtreecommitdiff
path: root/include/sound/simple_card_utils.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-04-12 02:52:04 +0300
committerMark Brown <broonie@kernel.org>2021-04-13 14:32:46 +0300
commitf899006d558546a8ee39c93f816eb3847c5bc6c0 (patch)
tree880c8c3e884404dec70b77ce78df5ac136ab1fb2 /include/sound/simple_card_utils.h
parent59f5cd96e9b9e1025ab0a9dc4ce9dd8633190794 (diff)
downloadlinux-f899006d558546a8ee39c93f816eb3847c5bc6c0.tar.xz
ASoC: simple-card-utils: remove li->dais/li->conf
li->dais is same as number of CPU + Codec, li->conf is same as number of Codec when dummy-Codec. li->dais/li->conf are no longer needed. This patch removes these. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87sg3wwfa3.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/simple_card_utils.h')
-rw-r--r--include/sound/simple_card_utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h
index 6635283a8160..da9d7e3665a8 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -75,9 +75,7 @@ struct asoc_simple_priv {
#define simple_priv_to_link(priv, i) (simple_priv_to_card(priv)->dai_link + (i))
struct link_info {
- int dais; /* number of dai */
int link; /* number of link */
- int conf; /* number of codec_conf */
int cpu; /* turn for CPU / Codec */
struct prop_nums num[SNDRV_MINOR_DEVICES];
};