summaryrefslogtreecommitdiff
path: root/include/sound/soc-card.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-28 10:48:39 +0900
committerMark Brown <broonie@kernel.org>2020-05-30 02:11:32 +0100
commit130dc08c827db76f4a32fe7867075029fe9071d1 (patch)
tree35786d9d9eeb5c0256447cd8a37c4b6ccd00b55f /include/sound/soc-card.h
parentbf5bb8db5bf07b0a82cdcdc44e4494e55aaa4ed7 (diff)
downloadlinux-rpi-130dc08c827db76f4a32fe7867075029fe9071d1.tar.gz
linux-rpi-130dc08c827db76f4a32fe7867075029fe9071d1.tar.bz2
linux-rpi-130dc08c827db76f4a32fe7867075029fe9071d1.zip
ASoC: soc-card: add snd_soc_card_suspend_pre()
Card related function should be implemented at soc-card now. This patch adds 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/87367k25jc.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h
index 41bafb59eb3c..58b6958c0f8b 100644
--- a/include/sound/soc-card.h
+++ b/include/sound/soc-card.h
@@ -19,6 +19,8 @@ int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,
struct snd_soc_jack *jack,
struct snd_soc_jack_pin *pins, unsigned int num_pins);
+int snd_soc_card_suspend_pre(struct snd_soc_card *card);
+
/* device driver data */
static inline void snd_soc_card_set_drvdata(struct snd_soc_card *card,
void *data)