[PATCH] davinci-mmc: Use IRQ to detect "card not busy" status change

2014-08-28 Thread Mike Looijmans
The davinci-mmc driver uses a busy wait loop to wait for the card to become ready (BUSY signal). The MMC card uses this to signal the controller that it's busy writing and cannot handle new requests yet. This loop often takes 100k cycles and 10ms to complete. The controller can raise an interrupt

Re: [PATCH] davinci-mmc: Use IRQ to detect "card not busy" status change

2014-08-28 Thread Mike Looijmans
Note: I have not been able to test or even compile this on recent kernels. Can somebody verify that this does not kill the SD driver? Mike. On 08/29/2014 08:41 AM, Mike Looijmans wrote: The davinci-mmc driver uses a busy wait loop to wait for the card to become ready (BUSY signal). The MMC car