diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-12-02 02:29:56 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-02 06:50:07 -0500 |
commit | 39646871a47fd8808c08de0ce7d7ca8393af2805 (patch) | |
tree | f10ce958f0e78126a0ebf2b1071c4dd6e50aa40a /sound/soc/codecs/tpa6130a2.h | |
parent | 1bb5ec6a6a0e094c84cc4fa2ba4a6d7cf8e9e8c6 (diff) |
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.h | 1 |
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 @@ | |||
57 | #define TPA6130A2_VERSION_MASK (0x0f) | 57 | #define TPA6130A2_VERSION_MASK (0x0f) |
58 | 58 | ||
59 | extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); | 59 | extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); |
60 | extern int tpa6130a2_stereo_enable(struct snd_soc_codec *codec, int enable); | ||
60 | 61 | ||
61 | #endif /* __TPA6130A2_H__ */ | 62 | #endif /* __TPA6130A2_H__ */ |