Skip to contentSkip to conversation

ASoC: Samsung: Debug register

PATCH Applied Jassi Brar 3 participants 3 messages Jan 3, 2011 – Jan 5, 2011

Subsystems (3)
lore
Share & tools
lore

Jassi Brar

author
#0 lore raw

PATCH 1/1 ASoC: Samsung: Debug register

The DMA channel status is read from I2SCON register.

---
 sound/soc/samsung/i2s.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/samsung/i2s.c +2 -2
index fab25b6..26ed01b 100644
@@ -192,7 +192,7 @@ static inline bool tx_active(struct i2s_dai *i2s)
 	if (!i2s)
 		return false;
 
-	active = readl(i2s->addr + I2SMOD);
+	active = readl(i2s->addr + I2SCON);
 
 	if (is_secondary(i2s))
 		active &= CON_TXSDMA_ACTIVE;
@@ -224,7 +224,7 @@ static inline bool rx_active(struct i2s_dai *i2s)
 	if (!i2s)
 		return false;
 
-	active = readl(i2s->addr + I2SMOD) & CON_RXDMA_ACTIVE;
+	active = readl(i2s->addr + I2SCON) & CON_RXDMA_ACTIVE;
 
 	return active ? true : false;
 }
Signature · 1 line
1.6.2.5
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jassi Brar

The DMA channel status is read from I2SCON register.

---
 sound/soc/samsung/i2s.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk