commit | 71bd0e73def3eae4f3bf2ad218e780cd7d979edb | [log] [tgz] |
---|---|---|
author | Hyun Jae Moon <hyunjaemoon@google.com> | Tue Apr 09 23:19:41 2024 +0000 |
committer | Hyun Jae Moon <hyunjaemoon@google.com> | Thu Apr 11 00:32:49 2024 +0000 |
tree | eae183dd220a97e5a0d02d553e42e5ce7c690bf0 | |
parent | 5aa54b2cd2c8af03325bb6405253e1415d1ea263 [diff] |
In run_fd_transport, add all chips before registering any transports. The deadlock may occur due to a race condition between rootcanal and netsimd with locks to devices due to add_chip and get_distance. The solution is to add all chips to the frontend resource first, then register the transports afterwards. Bug: 333798956 Test: ABTD Change-Id: I896db89a128c86640cc4b7ef13e0e89465e9fa0c