mmc: davinci: Poll status for small size transfers
authorIdo Yariv <ido@wizery.com>
Sun, 11 Mar 2012 21:39:59 +0000 (23:39 +0200)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:11 +0000 (12:20 -0400)
commitee698f503442741ca394d55c77b61c9080537686
treeca5e2fe1ce47f1a7789050e469c2c0504bbea297
parentbe7b5622e608189894c2c440c3fb0138f122071f
mmc: davinci: Poll status for small size transfers

For small size non-dma sdio transactions, it is sometimes better to poll
the mmc host and avoid interrupts altogether. Polling lowers the number
of interrupts and context switches. Tests have shown that for small
transactions, only a few polling iterations are needed, so this is worth
while.

Signed-off-by: Ido Yariv <ido@wizery.com>
Tested-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/davinci_mmc.c