On Thu, Jan 18, 2024 at 05:58:07PM +0100, Johan Hovold wrote: > The PA gain can be set in steps of 1.5 dB from -3 dB to 18 dB, that is, > in fifteen levels. > > Fix the range of the PA volume control to avoid having the first > sixteen levels all map to -3 dB. > > Note that level 0 (-3 dB) does not mute the PA so the mute flag should > also not be set. > > Fixes: cdb09e623143 ("ASoC: codecs: wsa883x: add control, dapm widgets and map") > Cc: stable@xxxxxxxxxxxxxxx # 6.0 This will mean that any configuration saved with alsactl store will change effect, it might be better to just fix the TLV description and live with the unfortunate UX...
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- From: Johan Hovold
- Re: [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- References:
- [PATCH v3 0/5] ASoC: qcom: volume fixes and codec cleanups
- From: Johan Hovold
- [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- From: Johan Hovold
- [PATCH v3 0/5] ASoC: qcom: volume fixes and codec cleanups
- Prev by Date: Re: [PATCH v3 2/5] ASoC: codecs: wsa883x: lower default PA gain
- Next by Date: Re: [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- Previous by thread: [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- Next by thread: Re: [PATCH v3 1/5] ASoC: codecs: wsa883x: fix PA volume control
- Index(es):