[PATCH v2] drm/vc4: release firmware on error paths in vc4_hvs_bind()

2025-04-05 Thread Dan Carpenter
There was a bug where we should have called rpi_firmware_put(firmware) if devm_clk_get() failed. Really, it's better and more readable to move all the firmware code together so that we can release it one time. Fixes: 2fa4ef5fb943 ("drm/vc4: hvs: Create hw_init function") Signed-off-by: Dan Carpen

Re: [PATCH v2] drm/vc4: release firmware on error paths in vc4_hvs_bind()

2025-04-03 Thread Dave Stevenson
On Thu, 3 Apr 2025 at 13:14, Dan Carpenter wrote: > > There was a bug where we should have called rpi_firmware_put(firmware) > if devm_clk_get() failed. Really, it's better and more readable to > move all the firmware code together so that we can release it one > time. > > Fixes: 2fa4ef5fb943 ("d