summaryrefslogtreecommitdiffstats
path: root/sound/soc/zte/zx-i2s.c
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-05-08 05:16:39 +0200
committerMark Brown <broonie@kernel.org>2018-05-09 11:40:39 +0200
commit5a748de0644d16ceb4192ebf785742619b88109b (patch)
treedf7f3c3cbe31af36092def4d5016c252f3b265fd /sound/soc/zte/zx-i2s.c
parentASoC: soc-core: remove legacy_dai_naming from snd_soc_register_dais() (diff)
downloadlinux-5a748de0644d16ceb4192ebf785742619b88109b.tar.xz
linux-5a748de0644d16ceb4192ebf785742619b88109b.zip
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