Commit 89923fb7 authored by Geoffrey McRae's avatar Geoffrey McRae Committed by Alex Deucher
Browse files

drm/amd/display: remove oem i2c adapter on finish



Fixes a bug where unbinding of the GPU would leave the oem i2c adapter
registered resulting in a null pointer dereference when applications try
to access the invalid device.

Fixes: 3d5470c9 ("drm/amd/display/dm: add support for OEM i2c bus")
Cc: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGeoffrey McRae <geoffrey.mcrae@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 276e8beb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment