ASoC: adau1761: Add PGA Slew time control
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 26 Sep 2019 11:50:11 +0000 (14:50 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:15:43 +0000 (12:15 +0100)
commit83078521072e95cf555d356f9e0b39021c46ac76
tree3c3d034171ee7424fc20a3846e6287e2bcf566f5
parent49f9c4f2e83cf562f1a6e3f62eafa4ede5343e4a
ASoC: adau1761: Add PGA Slew time control

The PGA Slew Time control allows to configure the rate with which the PGA
gain control ramps up/down to the target setting.

The PGA slew control is done via the ALC Control 0 register. There are 2
bits on that reg, that control PGA slew time, while the other bits control
parts of the ALC (automatic level control) block.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20190926115012.24049-1-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau1761.c