Re: [PATCH] bus: tegra-aconnect: use devm_clk_*() helpers

2019-03-12 Thread Jon Hunter
On 12/03/2019 14:34, Sameer Pujar wrote: > aconnect bus driver is using pm_clk_*() for managing required clocks. With > this, clocks seem to be always ON. This happens because, the clock prepare > count is incremented in pm_clock_acquire() which is called during device > probe(). The count is

[PATCH] bus: tegra-aconnect: use devm_clk_*() helpers

2019-03-12 Thread Sameer Pujar
aconnect bus driver is using pm_clk_*() for managing required clocks. With this, clocks seem to be always ON. This happens because, the clock prepare count is incremented in pm_clock_acquire() which is called during device probe(). The count is decremented during remove(). Hence the prepare_count