sdhci: Enable only relevant (DMA/PIO) interrupts during transfers
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 16 Mar 2009 21:13:50 +0000 (00:13 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:30:08 +0000 (21:30 +0100)
commit6aa943ab8994fe6e4ccba22c5bc8150a84268bdd
treeef277e4d6012c0cf10c220360a031bd5bc2f9b1c
parent7260cf5e12393536ce61d184c3fc750fb2ba635a
sdhci: Enable only relevant (DMA/PIO) interrupts during transfers

Some hosts (that is, FSL eSDHC) throw PIO interrupts during DMA
transfers, this causes tons of unneeded interrupts, and thus highly
degraded speed.

This patch modifies the driver so that now we only enable relevant
(DMA or PIO) interrupts during transfers.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c