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 <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
This commit is contained in:
Peter Ujfalusi 2010-05-06 10:37:18 +03:00 • committed by Liam Girdwood
commit 6f3991152f
2 changed files with 69 additions and 8 deletions

View file

@ -31,6 +31,7 @@ enum tpa_model {
struct tpa6130a2_platform_data {
enum tpa_model id;
int power_gpio;
int limit_gain;
};
#endif