In rtb log, [0.846068] [259400502] : LOGK_READL ufs_qcom_suspend [0.846069] [259400523] : LOGK_WRITEL ufs_qcom_suspend [0.847777] [259433318] : LOGK_WRITEL ufshcd_host_reset_and_restore [0.847780] [259433389] : LOGK_READL ufshcd_host_reset_and_restore This causes ufshcd reinit failure. Add rm_runtime_get_sync() to avoid entering runtime_suspend. Also use ufshcd_reset_and_restore to follow ufshcd_err_handler() design. Bug: 151321015 Test: Fault injection Signed-off-by: Randall Huang <huangrandall@google.com> Signed-off-by: Alexander Winkowski <dereference23@outlook.com> Change-Id: I2a0ce8cb8b518794f6f5f6cad7cfb08f12807b06fourteen
parent
2b9310ad9c
commit
39c1bc4f3f
Loading…
Reference in new issue