summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-05-06 10:37:18 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-06 14:58:20 +0100
commit6f3991152f20933b77eff30413e893bf1a15e578 (patch)
treec34ec1a5e9cc707de055972e78100feb491ad816 /include/sound
parent5193d62f1824cdfd72b5523be2b1cdb8049225ad (diff)
downloadop-kernel-dev-6f3991152f20933b77eff30413e893bf1a15e578.zip
op-kernel-dev-6f3991152f20933b77eff30413e893bf1a15e578.tar.gz
ASoC: tpa6130a2: Support for limiting gain
Add support for platform dependent gain limiting on the tpa6130a2 (and tpa6140a2) Headset 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 'include/sound')
-rw-r--r--include/sound/tpa6130a2-plat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/tpa6130a2-plat.h b/include/sound/tpa6130a2-plat.h
index e29fde6..426f627 100644
--- a/include/sound/tpa6130a2-plat.h
+++ b/include/sound/tpa6130a2-plat.h
@@ -31,6 +31,7 @@ enum tpa_model {
struct tpa6130a2_platform_data {
enum tpa_model id;
int power_gpio;
+ int limit_gain;
};
#endif
OpenPOWER on IntegriCloud