]> git.karo-electronics.de Git - linux-beck.git/commit
spi/bfin_spi: utilize the SPI interrupt in PIO mode
authorYi Li <yi.li@analog.com>
Wed, 3 Jun 2009 09:46:22 +0000 (09:46 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:29 +0000 (02:49 -0400)
commitf6a6d96685be6e784849d067b44acb831f595417
tree74676924942c6823b0b1517569394239d834943a
parentbb8beecd98de45f821a3360e0b061fc1f8da947c
spi/bfin_spi: utilize the SPI interrupt in PIO mode

The current behavior in PIO mode is to poll the SPI status registers which
can obviously lead to higher latencies when doing a lot of SPI traffic.
There is a SPI interrupt which can be used instead to signal individual
completion of transactions.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c