Re: [PATCH 12/13] mmc: mmci: Handle CMD irq before DATA irq

2014-02-12 Thread Ulf Hansson
On 29 January 2014 23:38, Ulf Hansson wrote: > In case of a read operation both MCI_CMDRESPEND and MCI_DATAEND can be > set in the status register when entering the interrupt handler. This is > due to that the card start sending data before the host has > acknowledged the command response. > > To

[PATCH 12/13] mmc: mmci: Handle CMD irq before DATA irq

2014-01-29 Thread Ulf Hansson
In case of a read operation both MCI_CMDRESPEND and MCI_DATAEND can be set in the status register when entering the interrupt handler. This is due to that the card start sending data before the host has acknowledged the command response. To resolve the issue for this scenario, we must start by han