]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit473cdade2087b82f42f02bd7f97ecdee55be28ad
tree340fa5754d53521910ec60ac380f7b45610a6ce6
parente7d69dd972227a5a192207aab55ba4425ebbf4c4
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