Files
linux-stable-mirror/include/linux
Thomas AndreattaandGreg Kroah-Hartman 239a488a0b 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:12:21 +09:00
..
2025-09-11 17:19:15 +02:00
2025-12-07 06:12:15 +09:00
2025-07-06 10:58:04 +02:00
2025-06-04 14:40:25 +02:00
2025-08-15 12:04:54 +02:00
2025-02-01 18:30:05 +01:00
2025-03-07 16:56:37 +01:00
2025-05-22 14:10:00 +02:00