summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tpa6130a2.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-12-02 08:29:56 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-02 12:50:07 +0100
commit39646871a47fd8808c08de0ce7d7ca8393af2805 (patch)
treef10ce958f0e78126a0ebf2b1071c4dd6e50aa40a /sound/soc/codecs/tpa6130a2.h
parentASoC: tpa6130a2: Add stereo DAPM path (diff)
downloadlinux-39646871a47fd8808c08de0ce7d7ca8393af2805.tar.xz
linux-39646871a47fd8808c08de0ce7d7ca8393af2805.zip
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__ */