Quoting Saravana Kannan (2021-10-07 18:32:20)
On Thu, Oct 7, 2021 at 6:24 PM Stephen Boyd swboyd@chromium.org wrote:
Anyway, I think we still have to do a rescan so that we can try to bind the aggregate device. Is there a better API to use for that?
If you know the exact device, you could call device_attach()? That's what bus_rescan_devices() eventually calls, but you skip the unnecessary looping over all the other devices.
Unfortunately we don't know the device. At this point it's possible that the aggregate device hasn't even been registered yet.