]> Git Repo - linux.git/commitdiff
drm/amd/psp: Fix sysfs: cannot create duplicate filename
authorAndrey Grodzovsky <[email protected]>
Fri, 16 Oct 2020 14:50:44 +0000 (10:50 -0400)
committerAlex Deucher <[email protected]>
Wed, 21 Oct 2020 21:33:43 +0000 (17:33 -0400)
psp sysfs not cleaned up on driver unload for sienna_cichlid

Fixes: ce87c98db428e7 ("drm/amdgpu: Include sienna_cichlid in USBC PD FW support.")
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 5.9.x
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index a9cae6d943c4aa078b579419c248356ae12b4f14..96a9699f87ba840256bf69b924aa76db9e19763c 100644 (file)
@@ -208,7 +208,8 @@ static int psp_sw_fini(void *handle)
                adev->psp.ta_fw = NULL;
        }
 
-       if (adev->asic_type == CHIP_NAVI10)
+       if (adev->asic_type == CHIP_NAVI10 ||
+           adev->asic_type == CHIP_SIENNA_CICHLID)
                psp_sysfs_fini(adev);
 
        return 0;
This page took 0.048085 seconds and 4 git commands to generate.