Skip to contentSkip to conversation

ASoC: rsnd: gen: fixup Gen2 channel size

PATCH Applied Kuninori Morimoto 2 participants 2 messages Dec 10, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rsnd: gen: fixup Gen2 channel size

From: Kuninori Morimoto <[email protected]>

Gen2 has 0 - 9, total 10 channels, not 9 channels.

---
 sound/soc/sh/rcar/gen.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/sh/rcar/gen.c +2 -2
index bf066f7..d0ab203 100644
@@ -217,11 +217,11 @@ int rsnd_gen_path_exit(struct rsnd_priv *priv,
 
 /* single address mapping */
 #define RSND_GEN2_S_REG(gen, reg, id, offset)				\
-	RSND_REG_SET(gen, RSND_REG_##id, RSND_GEN2_##reg, offset, 0, 9)
+	RSND_REG_SET(gen, RSND_REG_##id, RSND_GEN2_##reg, offset, 0, 10)
 
 /* multi address mapping */
 #define RSND_GEN2_M_REG(gen, reg, id, offset, _id_offset)		\
-	RSND_REG_SET(gen, RSND_REG_##id, RSND_GEN2_##reg, offset, _id_offset, 9)
+	RSND_REG_SET(gen, RSND_REG_##id, RSND_GEN2_##reg, offset, _id_offset, 10)
 
 static int rsnd_gen2_regmap_init(struct rsnd_priv *priv, struct rsnd_gen *gen)
 {
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 3 lines · Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

Gen2 has 0 - 9, total 10 channels, not 9 channels.

Applied, thanks.