[alsa-devel] [PATCH RESEND] ASoC: wm8904: Make undocumented registers non-readable
Axel Lin
axel.lin at ingics.com
Wed Nov 18 09:24:56 CET 2015
Signed-off-by: Axel Lin <axel.lin at ingics.com>
Reviewed-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
---
This patch was sent on
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-October/099094.html
sound/soc/codecs/wm8904.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index b783743..f48b9cb 100644
--- a/sound/soc/codecs/wm8904.c
+++ b/sound/soc/codecs/wm8904.c
@@ -312,7 +312,7 @@ static bool wm8904_readable_register(struct device *dev, unsigned int reg)
case WM8904_FLL_NCO_TEST_1:
return true;
default:
- return true;
+ return false;
}
}
--
2.1.4
More information about the Alsa-devel
mailing list