[PATCH v5 1/7] clk: sunxi: Remove calls to clk_put
From: Maxime Ripard <hidden>
Date: 2014-03-25 08:35:35
Also in:
linux-devicetree, lkml
From: Maxime Ripard <hidden>
Date: 2014-03-25 08:35:35
Also in:
linux-devicetree, lkml
Hi Mike, On Mon, Mar 24, 2014 at 02:51:20PM -0700, Mike Turquette wrote:
Quoting Maxime Ripard (2014-03-13 08:14:13)quoted
Callers of clk_put must disable the clock first. This also means that as long as the clock is enabled the driver should hold a reference to that clock. Hence, the call to clk_put here are bogus and should be removed. Signed-off-by: Maxime Ripard <redacted>Looks good to me. There is a balanced clk_put in the module remove function?
Actually, this is not part of any module, it's part of the function called through CLK_OF_DECLARE, so there's never a remove function for this code. -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140325/56e1f89c/attachment.sig>