Merge commit 'efc9194bcff84' ("ASoC: hdmi-codec: callback function will be called...
[deliverable/linux.git] / drivers / gpu / drm / amd / amdgpu / tonga_dpm.c
index b7615cefcac40b5d2607a194b5184ed2fe3a9bcf..f06f6f4dc3a8a93730a38050d269d6df00e3cc1e 100644 (file)
@@ -71,6 +71,11 @@ static int tonga_dpm_sw_init(void *handle)
 
 static int tonga_dpm_sw_fini(void *handle)
 {
+       struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+
+       release_firmware(adev->pm.fw);
+       adev->pm.fw = NULL;
+
        return 0;
 }
 
This page took 0.038264 seconds and 5 git commands to generate.