From: Daniel Mack Date: Thu, 27 Jun 2013 19:59:10 +0000 (+0200) Subject: ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f24dc877093744c0db323cc3d8a9c82aa2af8a5;p=linux-beck.git ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size The TAS5086_CLOCK_CONTROL also has a size of 1 byte. Signed-off-by: Daniel Mack Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c index 72067f79633e..8bbdf25530ca 100644 --- a/sound/soc/codecs/tas5086.c +++ b/sound/soc/codecs/tas5086.c @@ -130,7 +130,7 @@ static const struct reg_default tas5086_reg_defaults[] = { static int tas5086_register_size(struct device *dev, unsigned int reg) { switch (reg) { - case TAS5086_DEV_ID ... TAS5086_BKNDERR: + case TAS5086_CLOCK_CONTROL ... TAS5086_BKNDERR: return 1; case TAS5086_INPUT_MUX: case TAS5086_PWM_OUTPUT_MUX: