* [PATCH] ASoC: max98088: add support for noise gate reg
@ 2022-08-25 10:17 Tommaso Merciai
2022-08-25 12:45 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Tommaso Merciai @ 2022-08-25 10:17 UTC (permalink / raw)
To: tommaso.merciai
Cc: linuxfancy, linux-amarula, Liam Girdwood, Mark Brown,
Jaroslav Kysela, Takashi Iwai, Stephen Kitt, alsa-devel,
linux-kernel
Add support for Noise Gate Threshold reg (ANTH reg 0x40 bit 4 to 7)
References:
- https://datasheets.maximintegrated.com/en/ds/MAX98089.pdf, p75
Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
---
sound/soc/codecs/max98088.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index 5ef2e1279ee7..76ef71ab9c83 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -474,6 +474,9 @@ static const struct snd_kcontrol_new max98088_snd_controls[] = {
max98088_mic2pre_get, max98088_mic2pre_set,
max98088_micboost_tlv),
+ SOC_SINGLE("Noise Gate Threshold", M98088_REG_40_MICAGC_THRESH,
+ 4, 15, 0),
+
SOC_SINGLE("INA Volume", M98088_REG_37_LVL_INA, 0, 7, 1),
SOC_SINGLE("INB Volume", M98088_REG_38_LVL_INB, 0, 7, 1),
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: max98088: add support for noise gate reg
2022-08-25 10:17 [PATCH] ASoC: max98088: add support for noise gate reg Tommaso Merciai
@ 2022-08-25 12:45 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-08-25 12:45 UTC (permalink / raw)
To: Tommaso Merciai
Cc: linux-kernel, Takashi Iwai, linuxfancy, Liam Girdwood,
alsa-devel, linux-amarula, Jaroslav Kysela, Stephen Kitt
On Thu, 25 Aug 2022 12:17:13 +0200, Tommaso Merciai wrote:
> Add support for Noise Gate Threshold reg (ANTH reg 0x40 bit 4 to 7)
>
> References:
> - https://datasheets.maximintegrated.com/en/ds/MAX98089.pdf, p75
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: max98088: add support for noise gate reg
commit: 671d119e75c8dfbf25c1813a167eeb2616c8acd5
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-25 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 10:17 [PATCH] ASoC: max98088: add support for noise gate reg Tommaso Merciai
2022-08-25 12:45 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®