]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2552: fix dBscale-min declaration
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 5 Oct 2015 20:00:14 +0000 (15:00 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 6 Oct 2015 10:53:46 +0000 (11:53 +0100)
commit700043d186fefa2e87f39bf1bc7db0580c5c3d38
tree5e29e0a56b7e54a4c4e4eba38cd96b5036247a4f
parent935a478e4144e0a4f690471a4a1d8ad5718a721b
ASoC: tas2552: fix dBscale-min declaration

The minimum volume level for the TAS2552 (control register value 0x00)
is -7dB however the driver declares it as -0.07dB.

Running amixer before the patch reports:
dBscale-min=-0.07dB,step=1.00dB,mute=0

Running amixer with the patch applied reports:
dBscale-min=-7.00dB,step=1.00dB,mute=0

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/tas2552.c