forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
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) {