[alsa-devel] [PATCH] ASoC: Samsung: Debug register
The DMA channel status is read from I2SCON register.
Signed-off-by: Jassi Brar jassi.brar@samsung.com --- sound/soc/samsung/i2s.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index fab25b6..26ed01b 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -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; }
On Mon, 2011-01-03 at 10:51 +0900, Jassi Brar wrote:
The DMA channel status is read from I2SCON register.
Signed-off-by: Jassi Brar jassi.brar@samsung.com
sound/soc/samsung/i2s.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Mon, Jan 03, 2011 at 10:51:11AM +0900, Jassi Brar wrote:
The DMA channel status is read from I2SCON register.
Signed-off-by: Jassi Brar jassi.brar@samsung.com
Applied, thanks.
participants (3)
-
Jassi Brar
-
Liam Girdwood
-
Mark Brown