Skip to contentSkip to conversation

ASoC: max98373: Added software reset register to readable registers

PATCH In review Ryan Lee 2 participants 2 messages Aug 8, 2018

Subsystems (2)
lore
Share & tools
lore

Ryan Lee

author
#0 lore raw

PATCH 1/1 ASoC: max98373: Added software reset register to readable registers

---
Changes : Added 'MAX98373_R2000_SW_RESET' register to 'max98373_readable_register'
Software reset didn't work properly after suspend/resume.

 sound/soc/codecs/max98373.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/max98373.c +1 -0
index a925861..92b7125 100644
@@ -488,6 +488,7 @@ static const DECLARE_TLV_DB_RANGE(max98373_bde_gain_tlv,
 static bool max98373_readable_register(struct device *dev, unsigned int reg)
 {
 	switch (reg) {
+	case MAX98373_R2000_SW_RESET:
 	case MAX98373_R2001_INT_RAW1 ... MAX98373_R200C_INT_EN3:
 	case MAX98373_R2010_IRQ_CTRL:
 	case MAX98373_R2014_THERM_WARN_THRESH
Signature · 1 line
2.7.4
maintainer
#1 lore raw

Applied "ASoC: max98373: Added software reset register to readable registers" to the asoc tree

The patch

ASoC: max98373: Added software reset register to readable registers

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

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

Quoted 1 line

From 0717edbdfed61b4c1e8291140f78882d3a481042 Mon Sep 17 00:00:00 2001

From: Ryan Lee <[email protected]>
Date: Tue, 7 Aug 2018 20:06:38 -0700
Subject: [PATCH] ASoC: max98373: Added software reset register to readable
registers

---
 sound/soc/codecs/max98373.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/max98373.c +1 -0
index a92586106932..92b7125ea169 100644
@@ -488,6 +488,7 @@ static const DECLARE_TLV_DB_RANGE(max98373_bde_gain_tlv,
 static bool max98373_readable_register(struct device *dev, unsigned int reg)
 {
 	switch (reg) {
+	case MAX98373_R2000_SW_RESET:
 	case MAX98373_R2001_INT_RAW1 ... MAX98373_R200C_INT_EN3:
 	case MAX98373_R2010_IRQ_CTRL:
 	case MAX98373_R2014_THERM_WARN_THRESH
Signature · 1 line
2.18.0