[alsa-devel] [PATCH RESEND] ASoC: wm8904: Make undocumented registers non-readable
18 Nov
2015
18 Nov
'15
9:24 a.m.
Signed-off-by: Axel Lin axel.lin@ingics.com Reviewed-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com --- This patch was sent on http://mailman.alsa-project.org/pipermail/alsa-devel/2015-October/099094.htm...
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
3323
Age (days ago)
3323
Last active (days ago)
0 comments
1 participants
participants (1)
-
Axel Lin