diff options
| author | 2026-09-16 15:40:15 +0000 | |
|---|---|---|
| committer | 2026-09-26 11:18:45 -0300 | |
| commit | b816da5d5df1461446a0a5f3fe2b4948a659a790 (patch) | |
| tree | e416657eaaf3a44bb0d1ebb5e6fe7149ed653fd0 /scripts/Makefile.thinlto | |
| parent | drm/vc4: drain the hangcheck timer and works on V3D unbind (diff) | |
drm/vc4: Fix firmware reference leak in vc4_drm_bind()
The firmware reference obtained via rpi_firmware_get() is leaked when
aperture_remove_all_conflicting_devices() fails, as the error label
returns without putting it. This happens before the firmware is
consumed and put further down in the function.
Put the firmware reference before jumping to err.
Fixes: c406ad5e4a85 ("drm/vc4: Notify the firmware when DRM is in charge")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260916154015.2056797-1-vulab@iscas.ac.cn
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
