[alsa-devel] [PATCH] ASoC: WM9081 interrupt status register is volatile

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 18 20:32:05 CEST 2011


Not that we have interrupt handling in the driver at the minute.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm9081.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
index 2b6a75c..8176138 100644
--- a/sound/soc/codecs/wm9081.c
+++ b/sound/soc/codecs/wm9081.c
@@ -173,6 +173,7 @@ static int wm9081_volatile_register(struct snd_soc_codec *codec, unsigned int re
 {
 	switch (reg) {
 	case WM9081_SOFTWARE_RESET:
+	case WM9081_INTERRUPT_STATUS:
 		return 1;
 	default:
 		return 0;
-- 
1.7.6.3



More information about the Alsa-devel mailing list