alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: rt5645: set RT5645_PRIV_INDEX as volatile
@ 2016-07-06  1:55 Bard Liao
  2016-07-06  1:55 ` [PATCH 2/2] ASoC: rt5645: add DAC1 soft volume func control Bard Liao
  2016-07-07 10:01 ` Applied "ASoC: rt5645: set RT5645_PRIV_INDEX as volatile" to the asoc tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Bard Liao @ 2016-07-06  1:55 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, koro.chen, PC.Liao,
	Bard Liao, flove

RT5645_PRIV_INDEX(0x6a) indicate the address of PR- registers. So,
it should be volatile.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5645.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 97bf96e..9251720 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -441,6 +441,7 @@ static bool rt5645_volatile_register(struct device *dev, unsigned int reg)
 
 	switch (reg) {
 	case RT5645_RESET:
+	case RT5645_PRIV_INDEX:
 	case RT5645_PRIV_DATA:
 	case RT5645_IN1_CTRL1:
 	case RT5645_IN1_CTRL2:
-- 
1.8.1.1.439.g50a6b54

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-07 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  1:55 [PATCH 1/2] ASoC: rt5645: set RT5645_PRIV_INDEX as volatile Bard Liao
2016-07-06  1:55 ` [PATCH 2/2] ASoC: rt5645: add DAC1 soft volume func control Bard Liao
2016-07-07  9:57   ` Mark Brown
2016-07-07 10:01 ` Applied "ASoC: rt5645: set RT5645_PRIV_INDEX as volatile" 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;
as well as URLs for NNTP newsgroup(s).