Skip to content

Commit f1bcddf

Browse files
Andrey Grodzovskyalexdeucher
authored andcommitted
drm/amd/psp: Fix sysfs: cannot create duplicate filename
psp sysfs not cleaned up on driver unload for sienna_cichlid Fixes: ce87c98 ("drm/amdgpu: Include sienna_cichlid in USBC PD FW support.") Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 5.9.x
1 parent 5dff80b commit f1bcddf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ static int psp_sw_fini(void *handle)
208208
adev->psp.ta_fw = NULL;
209209
}
210210

211-
if (adev->asic_type == CHIP_NAVI10)
211+
if (adev->asic_type == CHIP_NAVI10 ||
212+
adev->asic_type == CHIP_SIENNA_CICHLID)
212213
psp_sysfs_fini(adev);
213214

214215
return 0;

0 commit comments

Comments
 (0)