summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2021-07-29 19:09:27 +0200
committerMark Brown <broonie@kernel.org>2021-07-29 19:51:11 +0200
commitee86f680ff4c9b406d49d4e22ddf10805b8a2137 (patch)
tree79adf7c87110a0b0167532d955b70bf55bec153e /block/blk-core.c
parentMAINTAINERS: Add sound devicetree bindings for Wolfson Micro devices (diff)
downloadlinux-ee86f680ff4c9b406d49d4e22ddf10805b8a2137.tar.xz
linux-ee86f680ff4c9b406d49d4e22ddf10805b8a2137.zip
ASoC: cs42l42: Correct definition of ADC Volume control
The ADC volume is a signed 8-bit number with range -97 to +12, with -97 being mute. Use a SOC_SINGLE_S8_TLV() to define this and fix the DECLARE_TLV_DB_SCALE() to have the correct start and mute flag. Fixes: 2c394ca79604 ("ASoC: Add support for CS42L42 codec") Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210729170929.6589-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions