disp: msm: dp: split host init and deinit
Break the host initialization and de-initialization to create late initialization and early de-initialization. Call host init/deinit on physical connect/disconnect only As attention messages from sink doesn't change the physical cable configurations, call only late init/early deinit in this case to avoid unnecessary hardware resources re-initialization. CRs-Fixed: 2490128 Change-Id: Ib930d250724ab3ea811a7388c7ad0aeae1164e21 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
This commit is contained in:
@@ -1242,6 +1242,8 @@ static int dp_ctrl_on(struct dp_ctrl *dp_ctrl, bool mst_mode,
|
||||
|
||||
ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl);
|
||||
|
||||
atomic_set(&ctrl->aborted, 0);
|
||||
|
||||
if (ctrl->power_on)
|
||||
goto end;
|
||||
|
||||
|
Referens i nytt ärende
Block a user