]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas571x: add input channel mixer for TAS5717/19
authorPetr Kulhavy <brain@jikos.cz>
Wed, 1 Jun 2016 07:30:00 +0000 (09:30 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jun 2016 15:22:10 +0000 (16:22 +0100)
commitb24bf1a175385071ec119e0a81f6cf1e3367f7f0
tree56d5730043d9403db63e2178cd306cb8bd065c89
parentedd38a3c9d95e6d896f0cd4189f1b15422d5dda6
ASoC: tas571x: add input channel mixer for TAS5717/19

Add channel 1 and 2 input mixer registers and the related ALSA mixer
controls for TAS5717/19 chips.

The mixer control coefficients on the chip are linear in the range
-3.99999 to +3.99999, encoded in 3.23 number format.
In this patch the mixer controls are limited to 128 values
from 0.0 to 1.0 in 1/64 steps.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas571x.c
sound/soc/codecs/tas571x.h