[RESEND] ASoC: wm8904: Make undocumented registers non-readable
diff mbox

Message ID 1447835096.13770.3.camel@ingics.com
State New
Headers show

Commit Message

Axel Lin Nov. 18, 2015, 8:24 a.m. UTC
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.html

 sound/soc/codecs/wm8904.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

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;
 	}
 }