spi/omap2-mcpsi: Always call spi_finalize_current_message()
authorFionn Cleary <clearyf@tcd.ie>
Thu, 23 Apr 2015 19:13:40 +0000 (21:13 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Apr 2015 09:55:24 +0000 (10:55 +0100)
commitc5a06e75f38376238db6a38240bac4b27dfe5216
tree7bb69601a14088ea562caf80f3f762be0aa600cf
parentc517d838eb7d07bbe9507871fab3931deccff539
spi/omap2-mcpsi: Always call spi_finalize_current_message()

The spi queue waits forever for spi_finalize_current_message() to be
called, blocking the bus.  Ensure that all error paths from
omap2_mcspi_transfer_one_message() call spi_finalize_current_message().

Signed-off-by: Fionn Cleary <fionn.cleary@streamunlimited.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c