Skip to content

Commit

Permalink
ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Mack authored and Mark Brown committed Jun 28, 2013
1 parent 79b23b5 commit 9f24dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/tas5086.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9f24dc8

Please sign in to comment.