ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Tue, 19 Feb 2019 16:29:12 +0000 (16:29 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Feb 2019 17:08:54 +0000 (17:08 +0000)
commitfcf4daabf08079e6d09958a2992e7446ef8d0438
treeab2818082d6c29e4a05cdd388dabd2964e408305
parentcc29ea007347f39f4c5a4d27b0b555955a0277f9
ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()

According to DS, the gain is between -12 dB and 40 dB, with a 0.5 dB step.
Tested on pcm1863.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/pcm186x.c