spi: spi-fsl-dspi: ensure non-zero return on error path
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Mon, 22 May 2017 13:19:20 +0000 (16:19 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 22 May 2017 15:14:22 +0000 (16:14 +0100)
commitcddebdd19c8e6cc41e04ac91c68000ff8c48383c
tree219c1f5fa76c83c44d8a4d9aaebd0d6ae6f25a48
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
spi: spi-fsl-dspi: ensure non-zero return on error path

Propagate error return from dspi_request_dma() into probe routine's
return.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c