spi_qsd: Fix DMA teardown error handling

Call the dma_teardown callback on the error path only if
one has been registered.

Change-Id: I9c5c9d59ea504be9417be089d6d3055a230a482f
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
1 file changed