Re: [PATCH RESEND 2/2] mtd: nand: pxa3xx-nand: fix random command timeouts

2015-08-19 Thread Ezequiel Garcia
On 19 August 2015 at 15:30, Robert Jarzmik wrote: > When 2 commands are submitted in a row, and the second is very quick, > the completion of the second command might never come. This happens > especially if the second command is quick, such as a status read after > an erase. > > The issue is that

[PATCH RESEND 2/2] mtd: nand: pxa3xx-nand: fix random command timeouts

2015-08-19 Thread Robert Jarzmik
When 2 commands are submitted in a row, and the second is very quick, the completion of the second command might never come. This happens especially if the second command is quick, such as a status read after an erase. The issue is that in the interrupt handler, the status bits are cleared after t