Signed-off-by: Roman Fietze <roman.fie...@telemotive.de>
---
 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 
b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
index 8d8a63a..a7cd585 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -398,6 +398,8 @@ int mpc52xx_lpbfifo_submit(struct mpc52xx_lpbfifo_request 
*req)
        req->buffer_not_done_cnt = 0;
        req->pos = 0;
 
+       bcom_gen_bd_rx_reset(lpbfifo.bcom_rx_task);
+       bcom_gen_bd_tx_reset(lpbfifo.bcom_tx_task);
        mpc52xx_lpbfifo_kick(req);
        spin_unlock_irqrestore(&lpbfifo.lock, flags);
 
@@ -456,7 +458,7 @@ mpc52xx_lpbfifo_probe(struct of_device *op, const struct 
of_device_id *match)
        lpbfifo.bcom_rx_task = bcom_gen_bd_rx_init(4,
                                                   res.start + offsetof(struct 
mpc52xx_sclpc, fifo_data),
                                                   BCOM_INITIATOR_SCLPC, 
BCOM_IPR_SCLPC,
-                                                  16*1024*1024);
+                                                  16 * 1024 * 1024);
        if (!lpbfifo.bcom_rx_task)
                goto err_bcom_rx;
 
-- 
1.6.5.5



-- 
Roman Fietze                Telemotive AG Büro Mühlhausen
Breitwiesen                              73347 Mühlhausen
Tel.: +49(0)7335/18493-45        http://www.telemotive.de
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to