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

Skip to content
Commit 44db4847 authored by Can Guo's avatar Can Guo
Browse files

ufs: ufs-qcom: Fix racing caused by ufs_qcom_testbus_config()



If func ufs_qcom_testbus_config() is invoked from ufshcd_suspend/resume
and/or clk gate/ungate context, pm_runtime_get_sync() and ufshcd_hold()
will flush the contexts calling ufs_qcom_testbus_config(), causing racing
problems. Fix it by removing the unnecessary calls of pm_runtime_get_sync()
and ufshcd_hold().

Change-Id: Iada1e777de0cafaf8c9b972fcace65399ea9668d
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 4027c201
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