summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2016-05-27 15:45:45 +0200
committerMark Brown <broonie@kernel.org>2016-05-30 17:19:46 +0200
commitdcc0799bf75c43f3d4e65716c88f35933da186cf (patch)
tree598a4e7156aca307df1a5e367b763f808581d949 /sound/soc
parentLinux 4.7-rc1 (diff)
downloadlinux-dcc0799bf75c43f3d4e65716c88f35933da186cf.tar.xz
linux-dcc0799bf75c43f3d4e65716c88f35933da186cf.zip
ASoC: Introduce SOC_SINGLE_S8_TLV() macro
This patch introduces SOC_SINGLE_S8_TLV() macro for volume control on chips which supports both negative and positive gains with sign bit on a 8 bit register, Gain ranges from -128 to +127 with a predefined step size. Currently we only have support to DOUBLE_S8_TLV() which does not fit for cases where we just have separate gain control register for each channel. One of the Qualcomm SOC msm8916 has such gain control register whose gain range is from -38.4dB to +38.4dB with step size of 0.3dB. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions