spi: stm32: fix potential dereference null return value

This patch fixes the usage of rx_dma_desc and tx_dma_desc pointers
returned by dmaengine_prep_slave_sg, which can be null.

Detected by CoverityScan, CID#1446587 ("Dereference null return value")

Reported-by: Colin Ian King <[email protected]>
Signed-off-by: Amelie Delaunay <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
1 file changed