forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
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) {