summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax2013-07-04 09:56:28 +0200
committerMark Brown2013-07-15 12:07:02 +0200
commitb63144e6c6097486e7678f9ecc2769b68d2ec83e (patch)
tree5965c48949e925ef88882fa6aaec2d50580656b6 /sound/soc/codecs/arizona.h
parentmfd: arizona: Add GPIO control register bit definitions (diff)
downloadkernel-qcow2-linux-b63144e6c6097486e7678f9ecc2769b68d2ec83e.tar.gz
kernel-qcow2-linux-b63144e6c6097486e7678f9ecc2769b68d2ec83e.tar.xz
kernel-qcow2-linux-b63144e6c6097486e7678f9ecc2769b68d2ec83e.zip
ASoC: arizona: Add signal activity output for DRC
When doing signal activity detection, the only output from the DRC will often be a GPIO pin. This patch adds a signal activity output that is activated when a GPIO is configured to output the DRC signal activity detection. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.h')
-rw-r--r--sound/soc/codecs/arizona.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h
index b60b08ccc1d0..fe1b794bd5f0 100644
--- a/sound/soc/codecs/arizona.h
+++ b/sound/soc/codecs/arizona.h
@@ -242,6 +242,7 @@ extern int arizona_set_fll(struct arizona_fll *fll, int source,
unsigned int Fref, unsigned int Fout);
extern int arizona_init_spk(struct snd_soc_codec *codec);
+extern int arizona_init_gpio(struct snd_soc_codec *codec);
extern int arizona_init_dai(struct arizona_priv *priv, int dai);