+19
−13
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When using the board-file probe order optimizations, the following
sequence is executed early on kernel boot:
- msm_smd_init()
- msm_rpm_smd_init()
When msm_smd_init() is invoked, it sets up it's data structures and then
invokes smd_post_init(), which places the probe work item in the
workqueue.
However, it's possible that msm_rpm_smd_init() is executed before SMD's
probe work is even invoked. In this case, the rpm-smd driver requests
access to the 'rpm_requests' channel, but because the SMD channels have
yet to be scanned, it does not exist.
Workaround this issue by forcing channel scanning to happen immediately
in msm_smd_post_init().
Change-Id: Ib364861886c2439b78bce284939aceff297adcdc
Signed-off-by:
Josh Cartwright <joshc@codeaurora.org>