summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-06-27 21:59:10 +0200
committerMark Brown <broonie@linaro.org>2013-06-28 12:15:30 +0100
commit9f24dc877093744c0db323cc3d8a9c82aa2af8a5 (patch)
tree27a2a8fef08da3312783f73b725669b9a59b348a /sound
parent79b23b564060c5483a489562b01a6eb778a312f7 (diff)
ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size
The TAS5086_CLOCK_CONTROL also has a size of 1 byte. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tas5086.c2
1 files changed, 1 insertions, 1 deletions
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: