diff options
author | Zenghui Yu <[email protected]> | 2021-09-06 11:35:41 +0800 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2021-10-07 13:07:38 +0300 |
commit | 149ac2e7ae1845191bd18b66a725392ac83a0c47 (patch) | |
tree | 3ef8e7aa44513548ba438d6e817f503936ebd43f /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 210de399659abe7a1aa43fbb6a1afce66887a001 (diff) |
drm/i915: Free the returned object of acpi_evaluate_dsm()
As per the comment on top of acpi_evaluate_dsm():
| * Evaluate device's _DSM method with specified GUID, revision id and
| * function number. Caller needs to free the returned object.
We should free the returned object of acpi_evaluate_dsm() to avoid memory
leakage. Otherwise the kmemleak splat will be triggered at boot time (if we
compile kernel with CONFIG_DEBUG_TEST_DRIVER_REMOVE=y).
Fixes: 8e55f99c510f ("drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops")
Cc: Kai-Heng Feng <[email protected]>
Signed-off-by: Zenghui Yu <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions