[PATCH 8/9] removing of buffer filling flag and also reverting old buffer related fix which is not really effective
From: Michail Kurachkin
Date: Wed Feb 27 2013 - 11:30:34 EST
Signed-off-by: Michail Kurachkin <michail.kurachkin@xxxxxxxxxxx>
---
drivers/staging/tdm/kirkwood_tdm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/tdm/kirkwood_tdm.c b/drivers/staging/tdm/kirkwood_tdm.c
index e4a9106..57c8925 100644
--- a/drivers/staging/tdm/kirkwood_tdm.c
+++ b/drivers/staging/tdm/kirkwood_tdm.c
@@ -678,7 +678,7 @@ static irqreturn_t kirkwood_tdm_irq(s32 irq, void *context_data)
}
/* waiting while dma providing access to buffer */
- while(readl(®s->chan0_buff_ownership + 4 * voice_num) & 1);
+ /* while(readl(®s->chan0_buff_ownership + 4 * voice_num) & 1); */
/* set next buffer address */
writel((u32)onchip_ch->rx_buff_phy[next_buf_num],
@@ -714,7 +714,7 @@ static irqreturn_t kirkwood_tdm_irq(s32 irq, void *context_data)
}
/* waiting while dma providing access to buffer */
- while(readl(®s->chan0_buff_ownership + 4 * voice_num) & 0x100);
+ /* while(readl(®s->chan0_buff_ownership + 4 * voice_num) & 0x100); */
/* set next buffer address */
writel((u32)onchip_ch->tx_buff_phy[next_buf_num],
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/