Skip to content

Commit

Permalink
ASoC:ma120x0p: Corrects the volume level display
Browse files Browse the repository at this point in the history
Fixes the wrongly changed 'limiter volume' display back to -50dB minimum
and sets the correct minimum volume level to -144dB to be aligned with
the controls and display in alsamixer etc.

Signed-off-by: Joerg Schambacher <[email protected]>
  • Loading branch information
j-schambacher authored and popcornmix committed Nov 21, 2022
1 parent a95e73e commit 9628979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/ma120x0p.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,8 +893,8 @@ static SOC_VALUE_ENUM_SINGLE_DECL(pwr_mode_ctrl,
pwr_mode_texts,
pwr_mode_values);

static const DECLARE_TLV_DB_SCALE(ma120x0p_vol_tlv, -5000, 100, 0);
static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -14400, 100, 0);
static const DECLARE_TLV_DB_SCALE(ma120x0p_vol_tlv, -14400, 100, 0);
static const DECLARE_TLV_DB_SCALE(ma120x0p_lim_tlv, -5000, 100, 0);
static const DECLARE_TLV_DB_SCALE(ma120x0p_lr_tlv, -5000, 100, 0);

static const struct snd_kcontrol_new ma120x0p_snd_controls[] = {
Expand Down

0 comments on commit 9628979

Please sign in to comment.