spi/bfin_spi: return immediately after skipping to next transfer
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 11 Jan 2011 16:19:08 +0000 (11:19 -0500)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 15 Feb 2011 20:57:02 +0000 (13:57 -0700)
commit1974eba605557e934764cb83c8ceb0eca78f011a
tree02788033188a4cb5c5ec5861c7599d313cdfc6a3
parent4d676fc5c39a677aa72148debd47029d8d8f0634
spi/bfin_spi: return immediately after skipping to next transfer

If there is an error with setting up a transfer, we need to return
immediately rather than trying to continue to process things.  We
already set up the error states for the caller at this point.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_bfin5xx.c