Dear Fabio Estevam,
> On Wed, Aug 22, 2012 at 2:42 PM, Marek Vasut wrote:
> > Dear Fabio Estevam,
> >
> >> On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut wrote:
> >> > int mxs_dma_go(int chan)
> >> > {
> >> >
> >> > - uint32_t timeout = 1;
> >> > + uint32_t timeout = 1000;
On Wed, Aug 22, 2012 at 2:42 PM, Marek Vasut wrote:
> Dear Fabio Estevam,
>
>> On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut wrote:
>> > int mxs_dma_go(int chan)
>> > {
>> >
>> > - uint32_t timeout = 1;
>> > + uint32_t timeout = 1000;
>>
>> Should we use a proper timeout mec
Dear Fabio Estevam,
> On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut wrote:
> > int mxs_dma_go(int chan)
> > {
> >
> > - uint32_t timeout = 1;
> > + uint32_t timeout = 1000;
>
> Should we use a proper timeout mechanism instead?
What would that be? I think 10 seconds is mor
On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut wrote:
> int mxs_dma_go(int chan)
> {
> - uint32_t timeout = 1;
> + uint32_t timeout = 1000;
Should we use a proper timeout mechanism instead?
Reagards,
Fabio Estevam
___
U-Boot mail
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
---
drivers/dma/apbh_dma.c |2 +-
5 matches
Mail list logo