ASoC: rt715: Add power-up delay to fix dmic pop sound issue.
Subsystems (3)
PATCH v2 1/1 ASoC: rt715: Add power-up delay to fix dmic pop sound issue.
From: Jack Yu <[email protected]>
Add 400ms power-up delay recommended to fix pop noise on capture.
---
v2: remove module parameter as suggested by Mark Brown.
sound/soc/codecs/rt715.c | 2 +- sound/soc/codecs/rt715.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
sound/soc/codecs/rt715.c +1 -1
@@ -9,7 +9,6 @@*/ #include <linux/module.h> -#include <linux/moduleparam.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h>
@@ -498,6 +497,7 @@ static int rt715_set_bias_level(struct snd_soc_component *component,regmap_write (rt715->regmap,RT715_SET_AUDIO_POWER_STATE ,AC_PWRST_D0 ); +msleep (RT715_POWER_UP_DELAY_MS ); }break ;
sound/soc/codecs/rt715.h +2 -0
@@ -210,6 +210,8 @@ enum { RT715_AIFS, }; +#define RT715_POWER_UP_DELAY_MS 400 +int rt715_io_init (struct device *dev,struct sdw_slave *slave);int rt715_init (struct device *dev,struct regmap *sdw_regmap,struct regmap *regmap,struct sdw_slave *slave);
Signature · 1 line
2.25.1
Mark Brown
maintainerQuoted 1 line · Pierre-Louis Bossart
Add 400ms power-up delay recommended to fix pop noise on capture.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: rt715: Add power-up delay to fix dmic pop sound issue.
commit: 16346a3cf02ebb8906c6a0ba907f83ea62cc874b
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