summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-card.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-28 10:48:28 +0900
committerMark Brown <broonie@kernel.org>2020-05-30 02:11:31 +0100
commitbf5bb8db5bf07b0a82cdcdc44e4494e55aaa4ed7 (patch)
treee204e5c95e25a9a5ef86e07c8419fd38510e6ae4 /include/sound/soc-card.h
parent65a75718d68ea338b918328d471eff6f472192fc (diff)
downloadlinux-bf5bb8db5bf07b0a82cdcdc44e4494e55aaa4ed7.tar.bz2
ASoC: soc-card: move snd_soc_card_subclass to soc-card
Card related function should be implemented at soc-card now. This patch moves it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/874ks025jn.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-card.h')
-rw-r--r--include/sound/soc-card.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h
index 2e2dd69313d2..41bafb59eb3c 100644
--- a/include/sound/soc-card.h
+++ b/include/sound/soc-card.h
@@ -8,6 +8,11 @@
#ifndef __SOC_CARD_H
#define __SOC_CARD_H
+enum snd_soc_card_subclass {
+ SND_SOC_CARD_CLASS_INIT = 0,
+ SND_SOC_CARD_CLASS_RUNTIME = 1,
+};
+
struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
const char *name);
int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,