Re: [PATCH] dmaengine: tegra210-adma: use devm_clk_*() helpers

2019-03-12 Thread Jon Hunter
On 12/03/2019 14:35, Sameer Pujar wrote: > Usage of pm_clk_*() results in non-zero prepare_count for clocks and hence > module clocks remain ON always. This is not desired as it will leak power > unncessarily. This patch replaces pm_clk_*() with devm_clk_*() interface. Technically, this is not

[PATCH] dmaengine: tegra210-adma: use devm_clk_*() helpers

2019-03-12 Thread Sameer Pujar
Usage of pm_clk_*() results in non-zero prepare_count for clocks and hence module clocks remain ON always. This is not desired as it will leak power unncessarily. This patch replaces pm_clk_*() with devm_clk_*() interface. This helps to keep refcounts balanced when device is not in use and runtime