spi/dw_spi: refine the IRQ mode working flow
authorFeng Tang <feng.tang@intel.com>
Wed, 20 Jan 2010 20:49:45 +0000 (13:49 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 20 Jan 2010 20:49:45 +0000 (13:49 -0700)
commit552e450929a7298cc8834fd2824a60b2e914f70e
tree1b9568370d1b40f23dd4d73765e98ff74665eb07
parent51f921c1eb1124fb99ab0728c19e8e14c82c81be
spi/dw_spi: refine the IRQ mode working flow

Now dw_spi core fully supports 3 transfer modes: pure polling,
DMA and IRQ mode. IRQ mode will use the FIFO half empty as
the IRQ trigger, so each interface driver need set the fifo_len,
so that core driver can handle it properly

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/dw_spi.c
drivers/spi/dw_spi_pci.c
include/linux/spi/dw_spi.h