From: Marek Vasut Date: Tue, 21 Aug 2012 16:17:26 +0000 (+0000) Subject: MX28: DMA: Prolong the DMA timeout X-Git-Tag: v2012.10-rc1~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1375f044d96f31987b0f4d3feb1fb01205939f3b;p=kernel%2Fu-boot.git MX28: DMA: Prolong the DMA timeout Load from SPI flash can create a long DMA chain, which can take long time to transfer. Change the DMA timeout to roughly 10s to prevent such long chains misreporting errors. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index ca5a32f..37a941c 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -526,7 +526,7 @@ static int mxs_dma_wait_complete(uint32_t timeout, unsigned int chan) */ int mxs_dma_go(int chan) { - uint32_t timeout = 10000; + uint32_t timeout = 10000000; int ret; LIST_HEAD(tmp_desc_list);