Message ID | 20230823085308.753572-1-ckeepax@opensource.cirrus.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1613781d7e8a93618ff3a6b37f81f06769b53717 |
Headers | show |
Series | ASoC: cs35l41: Correct amp_gain_tlv values | expand |
On 8/23/23 3:53 AM, Charles Keepax wrote: > The current analog gain TLV seems to have completely incorrect values in > it. The gain starts at 0.5dB, proceeds in 1dB steps, and has no mute > value, correct the control to match. > > Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com Acked-by: David Rhodes <david.rhodes@cirrus.com> Thanks, David
On Wed, 23 Aug 2023 09:53:08 +0100, Charles Keepax wrote: > The current analog gain TLV seems to have completely incorrect values in > it. The gain starts at 0.5dB, proceeds in 1dB steps, and has no mute > value, correct the control to match. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: cs35l41: Correct amp_gain_tlv values commit: 1613781d7e8a93618ff3a6b37f81f06769b53717 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c index 6ac501f008eca..8a879b6f48290 100644 --- a/sound/soc/codecs/cs35l41.c +++ b/sound/soc/codecs/cs35l41.c @@ -168,7 +168,7 @@ static int cs35l41_get_fs_mon_config_index(int freq) static const DECLARE_TLV_DB_RANGE(dig_vol_tlv, 0, 0, TLV_DB_SCALE_ITEM(TLV_DB_GAIN_MUTE, 0, 1), 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200)); -static DECLARE_TLV_DB_SCALE(amp_gain_tlv, 0, 1, 1); +static DECLARE_TLV_DB_SCALE(amp_gain_tlv, 50, 100, 0); static const struct snd_kcontrol_new dre_ctrl = SOC_DAPM_SINGLE("Switch", CS35L41_PWR_CTRL3, 20, 1, 0);
The current analog gain TLV seems to have completely incorrect values in it. The gain starts at 0.5dB, proceeds in 1dB steps, and has no mute value, correct the control to match. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> --- sound/soc/codecs/cs35l41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)