Re: [PATCH v3] dmaengine: dw: Use devm_clk_get_optional_enabled() in dw_probe()
From: Andy Shevchenko
Date: Mon Nov 23 2026 - 03:23:32 EST
On Sat, Nov 21, 2026 at 09:32:49AM +0100, Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Sat, 21 Nov 2026 09:16:47 +0100
Frank, FYI, the above From: header is one of the correct approaches to submit
the author. The Date: one is not wrong either (`git am` should swallow it).
> Reuse existing functionality from devm_clk_get_optional_enabled()
> instead of keeping duplicate source code.
> Clean up disable_unprepare() at error handling path and dw_remove().
>
> This issue was detected by using the Coccinelle software.
--
With Best Regards,
Andy Shevchenko