linux-kernelorg-stable/drivers/dma/sh
Thomas Andreatta d9a3e99294 dmaengine: sh: setup_xref error handling
This patch modifies the type of setup_xref from void to int and handles
errors since the function can fail.

`setup_xref` now returns the (eventual) error from
`dmae_set_dmars`|`dmae_set_chcr`, while `shdma_tx_submit` handles the
result, removing the chunks from the queue and marking PM as idle in
case of an error.

Signed-off-by: Thomas Andreatta <thomas.andreatta2000@gmail.com>
Link: https://lore.kernel.org/r/20250827152442.90962-1-thomas.andreatta2000@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-09-02 12:29:36 +05:30
..
Kconfig dmaengine: sh: Do not enable SH_DMAE_BASE by default during compile testing 2025-06-26 15:34:19 -07:00
Makefile dmaengine: sh: Add DMAC driver for RZ/G2L SoC 2021-08-29 19:14:19 +05:30
rcar-dmac.c dmaengine: sh: rcar-dmac: add comment for r8a779a0 compatible 2024-12-04 18:00:56 +05:30
rz-dmac.c dmaengine: sh: rz-dmac: Add RZ/V2H(P) support 2025-05-14 15:30:40 +01:00
shdma-base.c dmaengine: sh: setup_xref error handling 2025-09-02 12:29:36 +05:30
shdma.h dmaengine: shdma: increase size of 'dev_id' 2024-01-19 18:12:10 +05:30
shdmac.c dmaengine: sh: setup_xref error handling 2025-09-02 12:29:36 +05:30
usb-dmac.c dmaengine: fix typo in the comment 2024-10-21 23:07:08 +05:30