ASoC: SAMSUNG: Fix the incorrect referencing of I2SCON register
Subsystems (3)
PATCH 1/1 ASoC: SAMSUNG: Fix the incorrect referencing of I2SCON register
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]>
--- sound/soc/samsung/i2s.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/samsung/i2s.c +2 -2
@@ -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; }
Signature · 1 line
1.7.1
Quoted 5 lines · Sangbeom Kim
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]>
Liam Girdwood
Acked-byQuoted 9 lines · Jassi Brar
Quoted 5 lines · Sangbeom Kim
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]>
Mark Brown
AppliedQuoted 2 lines · Sangbeom Kim
If DMA active status should be checked, I2SCON register should be referenced. In this patch, Fix the incorrect referencing of I2SCON register.
Applied, thanks.