summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-28 10:49:35 +0900
committerMark Brown <broonie@kernel.org>2020-05-30 02:11:39 +0100
commit39caefda0a30cac8284264e5031a0dd478510ced (patch)
treec68ab9bc1e1b04b75441b7a7758c43e89cbdfbba /include/sound
parentb0275d956fab05a5088e20244c8d1eb433b7b90f (diff)
downloadlinux-39caefda0a30cac8284264e5031a0dd478510ced.tar.gz
linux-39caefda0a30cac8284264e5031a0dd478510ced.tar.bz2
linux-39caefda0a30cac8284264e5031a0dd478510ced.zip
ASoC: soc-card: add snd_soc_card_set_bias_level()
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/87sgfkzv4g.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-card.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h
index 97a34f0b0d2f..81e0c239b2e8 100644
--- a/include/sound/soc-card.h
+++ b/include/sound/soc-card.h
@@ -28,6 +28,10 @@ int snd_soc_card_probe(struct snd_soc_card *card);
int snd_soc_card_late_probe(struct snd_soc_card *card);
int snd_soc_card_remove(struct snd_soc_card *card);
+int snd_soc_card_set_bias_level(struct snd_soc_card *card,
+ struct snd_soc_dapm_context *dapm,
+ enum snd_soc_bias_level level);
+
/* device driver data */
static inline void snd_soc_card_set_drvdata(struct snd_soc_card *card,
void *data)