* [PATCH] ASoC: max98373: Added software reset register to readable registers
@ 2018-08-08 3:06 Ryan Lee
2018-08-08 11:07 ` Applied "ASoC: max98373: Added software reset register to readable registers" to the asoc tree Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Lee @ 2018-08-08 3:06 UTC (permalink / raw)
To: lgirdwood, broonie, perex, tiwai, ryans.lee,
kuninori.morimoto.gx, alsa-devel, linux-kernel
Cc: ryan.lee.maxim
Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
---
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(+)
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index a925861..92b7125 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -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
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread* Applied "ASoC: max98373: Added software reset register to readable registers" to the asoc tree
2018-08-08 3:06 [PATCH] ASoC: max98373: Added software reset register to readable registers Ryan Lee
@ 2018-08-08 11:07 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2018-08-08 11:07 UTC (permalink / raw)
To: Ryan Lee
Cc: Mark Brown, lgirdwood, broonie, perex, tiwai, ryans.lee,
kuninori.morimoto.gx, alsa-devel, linux-kernel, ryan.lee.maxim,
alsa-devel
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
From 0717edbdfed61b4c1e8291140f78882d3a481042 Mon Sep 17 00:00:00 2001
From: Ryan Lee <ryans.lee@maximintegrated.com>
Date: Tue, 7 Aug 2018 20:06:38 -0700
Subject: [PATCH] ASoC: max98373: Added software reset register to readable
registers
Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98373.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index a92586106932..92b7125ea169 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -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
--
2.18.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-08 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 3:06 [PATCH] ASoC: max98373: Added software reset register to readable registers Ryan Lee
2018-08-08 11:07 ` Applied "ASoC: max98373: Added software reset register to readable registers" to the asoc tree 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®