Files
linux/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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
2025-09-02 12:29:36 +05:30
..
2024-10-21 23:07:08 +05:30