[PATCH v5 1/7] clk: sunxi: Remove calls to clk_put
Maxime Ripard
maxime.ripard at free-electrons.com
Tue Mar 25 03:50:59 EDT 2014
Hi Mike,
On Mon, Mar 24, 2014 at 02:51:20PM -0700, Mike Turquette wrote:
> Quoting Maxime Ripard (2014-03-13 08:14:13)
> > 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 <maxime.ripard at free-electrons.com>
>
> 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>
More information about the linux-arm-kernel
mailing list