diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-12-02 08:29:56 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-02 12:50:07 +0100 |
commit | 39646871a47fd8808c08de0ce7d7ca8393af2805 (patch) | |
tree | f10ce958f0e78126a0ebf2b1071c4dd6e50aa40a /sound/soc/codecs/tpa6130a2.h | |
parent | ASoC: tpa6130a2: Add stereo DAPM path (diff) | |
download | linux-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.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 @@ #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__ */ |