Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491755 > unrolled thread

Re: [PATCH] simplefb: Disable and release clocks and regulators in destroy callback

Started byTomi Valkeinen <tomi.valkeinen@ti.com>
First post2016-09-27 10:30 +0200
Last post2016-09-27 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] simplefb: Disable and release clocks and regulators in  destroy callback Tomi Valkeinen <tomi.valkeinen@ti.com> - 2016-09-27 10:30 +0200

#1491755 — Re: [PATCH] simplefb: Disable and release clocks and regulators in destroy callback

FromTomi Valkeinen <tomi.valkeinen@ti.com>
Date2016-09-27 10:30 +0200
SubjectRe: [PATCH] simplefb: Disable and release clocks and regulators in destroy callback
Message-ID<slVW1-7ay-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On 07/09/16 12:09, Chen-Yu Tsai wrote:
> simplefb gets unregister when a proper framebuffer driver comes in and
> kicks it out. However the claimed clocks and regulators stay enabled
> as they are only released in the platform device remove function, which
> in theory would never get called.
> 
> Move the clock/regulator cleanup into the framebuffer destroy callback,
> which gets called as part of the framebuffer unregister process.
> 
> Note this introduces asymmetry in how the resources are claimed and
> released.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> ---
>  drivers/video/fbdev/simplefb.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Thanks, queued for 4.9.

 Tomi

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web