diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-11-18 16:24:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-18 13:19:05 +0000 |
commit | 28b5df1838b357c9e3e8eba02f684df3c0db05b3 (patch) | |
tree | b74abed1e934374c32c9a49b055baf1605a034c8 /sound/soc/codecs/wm8904.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-stable-28b5df1838b357c9e3e8eba02f684df3c0db05b3.tar.gz |
ASoC: wm8904: Make undocumented registers non-readable
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8904.c')
-rw-r--r-- | sound/soc/codecs/wm8904.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 2aa23f1b9e3c..8172e499e6ed 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; } } |