MX28: SPI: Refactor spi_xfer a bit
authorMarek Vasut <marex@denx.de>
Mon, 9 Jul 2012 00:48:31 +0000 (00:48 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:16 +0000 (14:58 +0200)
commitc7065fa824ab30108e1964bf1060eacb4323a85e
tree677c27a793dad6730616344aef4e791a9ad4de01
parente972d72bd7ce944a655328c6a8ef1e75e56490e3
MX28: SPI: Refactor spi_xfer a bit

This makes it easier to adapt for addition of DMA support.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
drivers/spi/mxs_spi.c