ASoC: tlv320aic31xx: Add Volume Soft Stepping control
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Fri, 29 Nov 2019 13:27:19 +0000 (16:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2019 18:34:42 +0000 (18:34 +0000)
commit3176f94c467cf89f74120c34a3ddd9aaf8941be2
treec349ff5f21bfeee575ac26df71114d02507d80a3
parent62d5ae4cafb7ffeeec6ba2dd1814cafeeea7dd8f
ASoC: tlv320aic31xx: Add Volume Soft Stepping control

Chip supports soft stepping of volume changes and it is enabled by
default.

This patch adds a control for it, so it could be either made slower
(two sample periods per step instead of one), or disabled.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Link: https://lore.kernel.org/r/20191129132719.11603-1-nikita.yoush@cogentembedded.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h