ASoC: codecs: tas5720: add TAS5722 specific volume control
authorAndreas Dannenberg <dannenberg@ti.com>
Fri, 31 Aug 2018 14:47:13 +0000 (09:47 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 31 Aug 2018 14:56:46 +0000 (15:56 +0100)
commitec94c177bf3700ce44c53c375a3fb4c347f2b08f
treea829100a9782e78b61c32ef2325811882411ed4d
parent5fcb457ac2fdc62c5ff6d3962c958b1301bc5ea1
ASoC: codecs: tas5720: add TAS5722 specific volume control

The TAS5722 supports modifying volume in 0.25dB steps (as opposed to
0.5dB steps on the TAS5720). Introduce a custom mixer control that
allows taking advantage of this finer output volume granularity.

Also add custom getters/setters for access as the TAS5722 digital volume
controls are split over two registers.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5720.c