summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tpa6130a2.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-12-02 10:29:56 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-02 14:50:07 +0300
commit39646871a47fd8808c08de0ce7d7ca8393af2805 (patch)
treef10ce958f0e78126a0ebf2b1071c4dd6e50aa40a /sound/soc/codecs/tpa6130a2.h
parent1bb5ec6a6a0e094c84cc4fa2ba4a6d7cf8e9e8c6 (diff)
downloadlinux-39646871a47fd8808c08de0ce7d7ca8393af2805.tar.xz
ASoC: tpa6130a2: Replace DAPM code with direct interface
The use of DAPM widgets, and extra routing can cause ordering problems in the system. Machine drivers should use the exported direct interface with SND_SOC_DAPM_HP's event callback to manage the state of the amplifier. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/tpa6130a2.h')
-rw-r--r--sound/soc/codecs/tpa6130a2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tpa6130a2.h b/sound/soc/codecs/tpa6130a2.h
index 57e867fd86d1..5df49c8756b2 100644
--- a/sound/soc/codecs/tpa6130a2.h
+++ b/sound/soc/codecs/tpa6130a2.h
@@ -57,5 +57,6 @@
#define TPA6130A2_VERSION_MASK (0x0f)
extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
+extern int tpa6130a2_stereo_enable(struct snd_soc_codec *codec, int enable);
#endif /* __TPA6130A2_H__ */