]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/samsung/i2s.c
ASoC: SAMSUNG: Fix the incorrect referencing of I2SCON register
[mv-sheeva.git] / sound / soc / samsung / i2s.c
index ffa09b3b2caaeedf98568331ec0825888829e5eb..992a732b5211bccb5385256eaf37ff887259ee0a 100644 (file)
@@ -191,7 +191,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;
@@ -223,7 +223,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;
 }