mxs/spi: Restart the block after unsuccessful transfer
authorMarek Vasut <marex@denx.de>
Fri, 24 Aug 2012 02:34:18 +0000 (04:34 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Aug 2012 16:36:52 +0000 (09:36 -0700)
commitc895db0fb2c9e77fd94ba7995e2a01652a91910c
treeb85c0d104c8c82d13300ab8e51ec35de7a06cdc1
parent4ad1e5b5d1dde19f09e728ba8b5164968f9dabeb
mxs/spi: Restart the block after unsuccessful transfer

Restart the SSP block in case the SSP transfer failed in any way.
The block hung in some cases otherwise.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chris Ball <cjb@laptop.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-mxs.c