ASoC: tpa6130a2: TLV mapping for tpa6140a2
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Tue, 4 May 2010 08:08:18 +0000 (11:08 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 4 May 2010 19:55:01 +0000 (20:55 +0100)
commite5e5b31e8c729b6bae569bec0790c655ee0121a1
tree340fa5754d53521910ec60ac380f7b45610a6ce6
parentad05c03b1c4c1fb4db066a7bd502b674148ccd89
ASoC: tpa6130a2: TLV mapping for tpa6140a2

Both tpa6130a2, and tpa6140a2 is supported by the
same driver, but the gain dB scaling is different on
the amplifiers.

Provide different mixer control for the chips with correct
TLV mapping.

User space will see:
"TPA6130A2 Headphone Playback Volume" in case of 6130
"TPA6140A2 Headphone Playback Volume" in case of 6140

The way machine drivers are using this amplifier remained
the same.

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>
sound/soc/codecs/tpa6130a2.c