commit | 890ff4f88c26a6a0a12e78775b7b2b1e86796321 | [log] [tgz] |
---|---|---|
author | David Gilhooley <dgilhooley@google.com> | Thu Feb 02 19:46:32 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 02 19:46:32 2023 +0000 |
tree | ba39670f4d6555dcfb2b4ef7bd315a02efd03b07 | |
parent | 88a8ac103da52a74897265dfbbfbbdd41de434ae [diff] |
[driver_host] Controller.Rebind returns ZX_ERR_NOT_FOUND Before this CL the Rebind API would hang forever if it did not cause a driver to be bound to the device. Fixing this involves: - Updating BindDevice to return ZX_ERR_NOT_FOUND if no drivers are found. - Setting the rebind callback before calling rebind. - Calling the rebind callback in the path where no drivers were found. The ZX_ERR_NOT_FOUND error is not returned to end clients of Rebind, as from their perspective the Rebind was successful. Fixed: 121144 Change-Id: Ib5cb4a6eeab46b57aff1ee5a95daeac1ca47126d Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/795602 API-Review: Jocelyn Dang <jocelyndang@google.com> Reviewed-by: Tamir Duberstein <tamird@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: David Gilhooley <dgilhooley@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.