summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-07-04 08:56:28 +0100
committerMark Brown <broonie@linaro.org>2013-07-15 11:07:02 +0100
commitb63144e6c6097486e7678f9ecc2769b68d2ec83e (patch)
tree5965c48949e925ef88882fa6aaec2d50580656b6 /sound/soc/codecs/arizona.h
parent326c29b6bedb7440b4232631686027af84a62cf5 (diff)
downloadblackbird-op-linux-b63144e6c6097486e7678f9ecc2769b68d2ec83e.tar.gz
blackbird-op-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);
OpenPOWER on IntegriCloud