Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size
@ 2013-06-27 19:59 Daniel Mack
  2013-06-27 19:59 ` [PATCH 2/2] ASoC: tas5086: fix Mid-Z implementation Daniel Mack
  2013-06-28 11:16 ` [PATCH 1/2] ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Mack @ 2013-06-27 19:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, Daniel Mack

The TAS5086_CLOCK_CONTROL also has a size of 1 byte.

Signed-off-by: Daniel Mack <zonque@gmail.com>
---
 sound/soc/codecs/tas5086.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c
index fec9a28..84c3f27 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:
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-28 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 19:59 [PATCH 1/2] ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size Daniel Mack
2013-06-27 19:59 ` [PATCH 2/2] ASoC: tas5086: fix Mid-Z implementation Daniel Mack
2013-06-28 11:16 ` [PATCH 1/2] ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox