forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/pci/endpoint/functions/pci-epf-test.c
....@@ -870,7 +870,7 @@
870870 if (ret)
871871 epf_test->dma_supported = false;
872872
873
- if (linkup_notifier) {
873
+ if (linkup_notifier || core_init_notifier) {
874874 epf->nb.notifier_call = pci_epf_test_notifier;
875875 pci_epc_register_notifier(epc, &epf->nb);
876876 } else {