projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b80b8c
)
ASoC: SAMSUNG: Fix the incorrect referencing of I2SCON register
author
Sangbeom Kim
<
[email protected]
>
Fri, 10 Jun 2011 01:36:54 +0000
(10:36 +0900)
committer
Mark Brown
<
[email protected]
>
Fri, 10 Jun 2011 09:54:46 +0000
(10:54 +0100)
If DMA active status should be checked, I2SCON register should be referenced.
In this patch, Fix the incorrect referencing of I2SCON register.
Reported-by : Lakkyung Jung <
[email protected]
>
Signed-off-by: Sangbeom Kim <
[email protected]
>
Acked-by: Jassi Brar <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/samsung/i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/samsung/i2s.c
b/sound/soc/samsung/i2s.c
index ffa09b3b2caaeedf98568331ec0825888829e5eb..992a732b5211bccb5385256eaf37ff887259ee0a 100644
(file)
--- a/
sound/soc/samsung/i2s.c
+++ b/
sound/soc/samsung/i2s.c
@@
-191,7
+191,7
@@
static inline bool tx_active(struct i2s_dai *i2s)
if (!i2s)
return false;
- active = readl(i2s->addr + I2S
MOD
);
+ active = readl(i2s->addr + I2S
CON
);
if (is_secondary(i2s))
active &= CON_TXSDMA_ACTIVE;
@@
-223,7
+223,7
@@
static inline bool rx_active(struct i2s_dai *i2s)
if (!i2s)
return false;
- active = readl(i2s->addr + I2S
MOD
) & CON_RXDMA_ACTIVE;
+ active = readl(i2s->addr + I2S
CON
) & CON_RXDMA_ACTIVE;
return active ? true : false;
}