We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f4d0a commit e706805Copy full SHA for e706805
drivers/pci/pci.c
@@ -2011,12 +2011,13 @@ int pci_register_device(FAR struct pci_device_s *dev)
2011
if (drv->probe(dev) >= 0)
2012
{
2013
dev->drv = drv;
2014
- break;
+ goto out;
2015
}
2016
2017
2018
2019
2020
+out:
2021
nxmutex_unlock(&g_pci_lock);
2022
return ret;
2023
0 commit comments