Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cba8de3c authored by Mayank Rana's avatar Mayank Rana Committed by Ajay Agarwal
Browse files

dwc3-msm: Readback USB GSI wrapper register after updating



In some of cases, it has been observed that USB GSI wrapper
is trying to access IPA GSI doorbell register which is pending
at bus level whereas USB software has detached SMMU and power
collapse controller. This results into global SMMU page fault.
Fix this issue by reading back USB GSI wrapper register after
updating it to make sure that register write has not buffered
at bus level or cache level. To achieve this, remove
dwc3_msm_write_readback() API usage, readback updated register
with dwc3_msm_write_reg_field() API and replace references of
dwc3_msm_write_readback() API.

Change-Id: Ib77e23d3430cb69a47478618d79851acea5c3c56
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 67cbe2a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment