Martin Oliveira af82fe8566 MIPS/jazzdma: return error code from jazz_dma_map_sg()
The .map_sg() op now expects an error code instead of zero on failure.

vdma_alloc() may fail for different reasons, but since it only supports
indicating an error via a return of DMA_MAPPING_ERROR, we coalesce the
different reasons into -EIO as is documented on dma_map_sgtable().

Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-08-09 17:13:05 +02:00
..
2021-07-10 10:36:33 -07:00
2021-08-06 11:31:11 -07:00
2021-07-09 15:35:13 +02:00
2021-01-22 11:40:00 +01:00
2021-06-08 17:00:09 +02:00
2020-09-16 22:40:58 +02:00
2021-01-22 11:40:00 +01:00
2021-08-05 20:52:03 +09:00