diff options
author | Geoffrey McRae <geoffrey.mcrae@amd.com> | 2025-08-28 22:26:22 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:38 -0400 |
commit | 89923fb7ead4fdd37b78dd49962d9bb5892403e6 (patch) | |
tree | 0d48a8f257f1f721f8c6759ae2d5baf9d84980ae /rust/helpers/xarray.c | |
parent | 276e8beb2a0c390fdac8f11bb58d9fdf95a6d538 (diff) |
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: 3d5470c97314 ("drm/amd/display/dm: add support for OEM i2c bus")
Cc: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Geoffrey McRae <geoffrey.mcrae@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions