浏览代码

Merge branch 'for-3.0' into for-3.1

Mark Brown 14 年之前
父节点
当前提交
0f28f8e567
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sound/soc/samsung/i2s.c

+ 2 - 2
sound/soc/samsung/i2s.c

@@ -191,7 +191,7 @@ static inline bool tx_active(struct i2s_dai *i2s)
 	if (!i2s)
 	if (!i2s)
 		return false;
 		return false;
 
 
-	active = readl(i2s->addr + I2SMOD);
+	active = readl(i2s->addr + I2SCON);
 
 
 	if (is_secondary(i2s))
 	if (is_secondary(i2s))
 		active &= CON_TXSDMA_ACTIVE;
 		active &= CON_TXSDMA_ACTIVE;
@@ -223,7 +223,7 @@ static inline bool rx_active(struct i2s_dai *i2s)
 	if (!i2s)
 	if (!i2s)
 		return false;
 		return false;
 
 
-	active = readl(i2s->addr + I2SMOD) & CON_RXDMA_ACTIVE;
+	active = readl(i2s->addr + I2SCON) & CON_RXDMA_ACTIVE;
 
 
 	return active ? true : false;
 	return active ? true : false;
 }
 }