diff options
author | Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> | 2018-05-08 06:16:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-09 12:40:39 +0300 |
commit | 5a748de0644d16ceb4192ebf785742619b88109b (patch) | |
tree | df7f3c3cbe31af36092def4d5016c252f3b265fd /sound/soc/zte/zx-i2s.c | |
parent | 0e7b25c673ec916dee8d927fc8de5806d900cba8 (diff) | |
download | linux-5a748de0644d16ceb4192ebf785742619b88109b.tar.xz |
ASoC: uniphier: add digital output volume for UniPhier sound system
This patch adds controllers for digital volume of PCM output. Volume
effects simply linear, not dB scale as follows:
Gained PCM = Original * 0x4000 / Volume
The value range of volume is from 0x0001 to 0xffff. 0x0000 works as
mute. Initial value is 0x4000 (+0dB).
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/zte/zx-i2s.c')
0 files changed, 0 insertions, 0 deletions