diff options
author | Richard Fitzgerald <[email protected]> | 2021-07-29 18:09:27 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-07-29 18:51:11 +0100 |
commit | ee86f680ff4c9b406d49d4e22ddf10805b8a2137 (patch) | |
tree | 79adf7c87110a0b0167532d955b70bf55bec153e /tools/perf/scripts/python | |
parent | 830b69f6c059bc46451e7c4be8b796d483acb0bd (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions