Skip to contentSkip to conversation

ASoC: wm8904: Make undocumented registers non-readable

PATCH RESEND New Axel Lin 1 participant 1 message Nov 18, 2015

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH RESEND 1/1 ASoC: wm8904: Make undocumented registers non-readable

---
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(-)
sound/soc/codecs/wm8904.c +1 -1
index b783743..f48b9cb 100644
@@ -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;
 	}
 }
 
Signature · 1 line
2.1.4