On Wed, 14 Aug 2024 15:18:17 -0700 jitendra.vegiraju@xxxxxxxxxxxx wrote: > + pci_restore_state(pdev); > + pci_set_power_state(pdev, PCI_D0); > + > + ret = pci_enable_device(pdev); > + if (ret) > + return ret; > + > + pci_set_master(pdev); pci_restore_state() doesn't restore master and enable?