]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2552: Correct the Speaker Driver Playback Volume (PGA_GAIN)
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 4 Jun 2015 13:04:27 +0000 (16:04 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jun 2015 17:53:35 +0000 (18:53 +0100)
commit0a543299677acf02560330cdc64cdf0c4888b3e0
treea3406e819c31f574f72bf5a5b0304c15d4f5d983
parent09e12a6c14d99003139722990b2fbf011b18d921
ASoC: tas2552: Correct the Speaker Driver Playback Volume (PGA_GAIN)

The last parameter for DECLARE_TLV_DB_SCALE() is to tell if the gain will
be muted or not when it is set to raw 0. IN this case it is not muted.
The PGA_GAIN is in 0-4 bits in the register. Fix the offset in the
SOC_SINGLE_TLV() for this.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c