lkml.org 
[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Skip clk_put for attached clocks when freeing context
On Tue, May 15, 2018 at 10:50:17AM +1000, James Kelly wrote:
> Capability to attach an existing clk to a MMIO regmap was
> introduced in 4.17rc1.
>
> However, when using attached clk, regmap does not do the clk_get.
> Therefore it should not do the clk_put when freeing the MMIO
> regmap context.
>
> There does not appear to be any users of attached clocks yet
> so this would be a good time to make this change before anything
> depends on the existing behaviour.
>
> Signed-off-by: James Kelly <jamespeterkelly@gmail.com>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Thanks!
Maxime

--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-05-15 08:43    [W:0.113 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site