Thomas Zimmermann <[email protected]> writes:

Hello Thomas,

> Retrieving the system framebuffer's parent device in sysfb_init()
> increments the parent device's reference count. Hence release the
> reference before leaving the init function.
>
> Adding the sysfb platform device acquires and additional reference
> for the parent. This keeps the parent device around while the system
> framebuffer is in use.
>
> Signed-off-by: Thomas Zimmermann <[email protected]>
> Fixes: 9eac534db001 ("firmware/sysfb: Set firmware-framebuffer parent device")
> Cc: Thomas Zimmermann <[email protected]>
> Cc: Javier Martinez Canillas <[email protected]>
> Cc: Helge Deller <[email protected]>
> Cc: Jani Nikula <[email protected]>
> Cc: Dan Carpenter <[email protected]>
> Cc: Arnd Bergmann <[email protected]>
> Cc: Sui Jingfeng <[email protected]>
> Cc: <[email protected]> # v6.9+
> ---

Looks good to me.

Reviewed-by: Javier Martinez Canillas <[email protected]>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat

Reply via email to