forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
....@@ -313,6 +313,7 @@
313313
314314 if (!found)
315315 return false;
316
+ pci_dev_put(pdev);
316317
317318 adev->bios = kmalloc(size, GFP_KERNEL);
318319 if (!adev->bios) {