aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2024-06-04 08:33:37 +0000
committerChun-Kuang Hu <[email protected]>2024-06-28 13:01:43 +0000
commit8ad49a92cff4bab13eb2f2725243f5f31eff3f3b (patch)
treed2991d94a52d101d35a3366896e8670d124b549e /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/mediatek: dpi/dsi: Fix possible_crtcs calculation (diff)
downloadkernel-8ad49a92cff4bab13eb2f2725243f5f31eff3f3b.tar.gz
kernel-8ad49a92cff4bab13eb2f2725243f5f31eff3f3b.zip
drm/mediatek/dp: Fix spurious kfree()
drm_edid_to_sad() might return an error or just zero. If that is the case, we must not free the SADs because there was no allocation in the first place. Fixes: dab12fa8d2bd ("drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection") Signed-off-by: Michael Walle <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions