spi/bfin_spi: handle error/status changes after data interrupts
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 22 Oct 2010 06:01:48 +0000 (02:01 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 22 Oct 2010 07:26:46 +0000 (01:26 -0600)
commit782a895693a52fd8b288c33bdd7e98357888fc1f
treec1deb3d7b5e6555973cf06ee7ec58a3b839255bc
parent2b9603a0d7e395fb844af90fba71448bc8019077
spi/bfin_spi: handle error/status changes after data interrupts

The error interrupt on the BF537 SIC cannot be enabled on a
per-peripheral basis.  Once the error interrupt is enabled
for one peripheral, it is automatically enabled for all.

So in the Blackfin on-chip SPI driver, we need to clear out
these known errors in the data interrupt once we've successfully
finished processing all of the pending data.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_bfin5xx.c