]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: renesas: rz-du: mipi_dsi: Fix return path on error
authorChris Brandt <chris.brandt@renesas.com>
Fri, 1 May 2026 13:21:35 +0000 (09:21 -0400)
committerBiju Das <biju.das.jz@bp.renesas.com>
Wed, 6 May 2026 06:23:34 +0000 (07:23 +0100)
commit79e1afecfe1afbfd06f63bf7bbe854a88155b7bd
tree9440784151a9a39c91ee9fe7b7f7c3c0933afd5b
parenteb1ecc3865e490a4b39c7895eecb88acaf17b4f0
drm: renesas: rz-du: mipi_dsi: Fix return path on error

In case of error, we should unwind correctly.
Switching to using dmam_ instead of dma_ and moving the code earlier
fixes the issue.

Fixes: 6f392f371650 ("drm: renesas: rz-du: Implement MIPI DSI host transfers")
Suggested-by: Pavel Machek <pavel@nabladev.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20260501132135.196701-1-chris.brandt@renesas.com
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c