* [PATCH] ASoC: Samsung: Debug register
@ 2011-01-03 1:51 Jassi Brar
2011-01-04 16:45 ` Liam Girdwood
2011-01-05 9:49 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Jassi Brar @ 2011-01-03 1:51 UTC (permalink / raw)
To: alsa-devel; +Cc: broonie, Jassi Brar, lrg
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;
}
--
1.6.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Samsung: Debug register
2011-01-03 1:51 [PATCH] ASoC: Samsung: Debug register Jassi Brar
@ 2011-01-04 16:45 ` Liam Girdwood
2011-01-05 9:49 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-01-04 16:45 UTC (permalink / raw)
To: Jassi Brar; +Cc: alsa-devel, broonie
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>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Samsung: Debug register
2011-01-03 1:51 [PATCH] ASoC: Samsung: Debug register Jassi Brar
2011-01-04 16:45 ` Liam Girdwood
@ 2011-01-05 9:49 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-01-05 9:49 UTC (permalink / raw)
To: Jassi Brar; +Cc: alsa-devel, lrg
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-05 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03 1:51 [PATCH] ASoC: Samsung: Debug register Jassi Brar
2011-01-04 16:45 ` Liam Girdwood
2011-01-05 9:49 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).