Quoting Nicolas Saenz Julienne (2020-12-11 08:47:50)
> When unbinding the firmware device we need to make sure it has no
> consumers left. Otherwise we'd leave them with a firmware handle
> pointing at freed memory.
> 
> Keep a reference count of all consumers and introduce rpi_firmware_put()
> which will permit automatically decrease the reference count upon
> unbinding consumer drivers.
> 
> Suggested-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulie...@suse.de>
> Reviewed-by: Florian Fainelli <f.faine...@gmail.com>
> 
> ---

Reviewed-by: Stephen Boyd <sb...@kernel.org>
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to