[alsa-devel] [PATCH] ASoC: wm2000: Correct register size

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 26 13:00:28 CEST 2012


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Cc: stable at vger.kernel.org
---
 sound/soc/codecs/wm2000.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c
index b723e91..683dc43 100644
--- a/sound/soc/codecs/wm2000.c
+++ b/sound/soc/codecs/wm2000.c
@@ -726,7 +726,7 @@ static bool wm2000_readable_reg(struct device *dev, unsigned int reg)
 }
 
 static const struct regmap_config wm2000_regmap = {
-	.reg_bits = 8,
+	.reg_bits = 16,
 	.val_bits = 8,
 
 	.max_register = WM2000_REG_IF_CTL,
-- 
1.7.10.4



More information about the Alsa-devel mailing list