-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continue creating PciSubDevice upon failures
Summary: When PciDevice is being explored, we have a try/catch to prevent PM to crash when a PciSubDevice creation failed. However, this also prevents the remaining PciSubDevices to be created. For example, if an i2c adapter fails, then all the remaining pciSubDevices like SpiMaster, XCVR, watchdog and etc won't get created. Instead we should just capture the fail and move on to create remaining PciSubDevices. Reviewed By: somasun Differential Revision: D67031954 fbshipit-source-id: 1b74dd598dd7b5c13ee536e5b9ea02a58ff39206
- Loading branch information
1 parent
a6f5d6a
commit 10300eb
Showing
4 changed files
with
242 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.