Files
linux-stable-mirror/include/linux
Thomas Andreatta e12a50e362 dmaengine: sh: setup_xref error handling
[ Upstream commit d9a3e99294 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-07 06:09:20 +09:00
..
2025-09-11 17:17:17 +02:00
2024-12-14 19:51:34 +01:00
2025-12-07 06:09:16 +09:00
2025-07-10 15:57:42 +02:00
2025-10-29 14:03:11 +01:00
2025-06-04 14:38:07 +02:00
2025-08-28 16:24:06 +02:00
2025-04-10 14:31:55 +02:00
2025-02-01 18:23:59 +01:00
2025-06-04 14:38:08 +02:00
2024-10-17 15:11:06 +02:00
2025-08-28 16:24:13 +02:00