[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6829a2e4-f7e0-4f34-8702-e00b005e9e0c@kernel.org>
Date: Fri, 30 Aug 2024 20:11:56 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: vkoul@...nel.org
Cc: Liao Yuanhong <liaoyuanhong@...o.com>, dmaengine@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev
Subject: Re: [PATCH v2 0/7] dmaengine:Use devm_clk_get_enabled() helpers
On 30/08/2024 11:41, Liao Yuanhong wrote:
> The devm_clk_get_enabled() helpers:
> - call devm_clk_get()
> - call clk_prepare_enable() and register what is needed in order to
> call clk_disable_unprepare() when needed, as a managed resource.
>
> This simplifies the code and avoids the calls to clk_disable_unprepare().
> ---
> v2:remove inappropriate modifications, configure COMPILE_TEST for easy
> testing, add devm_clk_getprepaed() for imx sdma device.
> ---
>
Vinod,
Since ~2 weeks there is tremendous amount of trivial patches coming from
vivo.com. I identified at least 6 buggy, where the contributor did not
understand the code. Not sure about intention, but I advise extra
carefulness
when dealing with these "trivial" improvements.
Best regards,
Krzysztof
Powered by blists - more mailing lists