Re: [PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-31 Thread Sekhar Nori
On Wednesday 31 July 2013 10:35 AM, Joel Fernandes wrote: On 07/30/2013 03:29 AM, Sekhar Nori wrote: On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared anywhere 'anywhere' is a really loaded term. as this will make us 'forget' about

Re: [PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-31 Thread Joel Fernandes
On 07/31/2013 04:35 AM, Sekhar Nori wrote: On Wednesday 31 July 2013 10:35 AM, Joel Fernandes wrote: On 07/30/2013 03:29 AM, Sekhar Nori wrote: On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared anywhere 'anywhere' is a really loaded

Re: [PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-30 Thread Sekhar Nori
On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared anywhere 'anywhere' is a really loaded term. as this will make us 'forget' about missed events. We depend on knowing which events were missed in order to be able to reissue them.

Re: [PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-30 Thread Joel Fernandes
On 07/30/2013 03:29 AM, Sekhar Nori wrote: On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared anywhere 'anywhere' is a really loaded term. as this will make us 'forget' about missed events. We depend on knowing which events were

[PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-29 Thread Joel Fernandes
We certainly don't want error conditions to be cleared anywhere as this will make us 'forget' about missed events. We depend on knowing which events were missed in order to be able to reissue them. This fixes a race condition where the EMR was being cleared by the transfer completion interrupt