08d1c4dd2b
Disabling the MHI M2 state appears to completely resolve issues where enabling the wifi firmware would cause the the whole system to freeze quite frequently. The reason for why this fix works so well is still unknown and under investigation. See some discussion here: http://lists.infradead.org/pipermail/ath11k/2020-December/000876.html Also renames the firmware package to clarify that it is for the wifi driver. This is to avoid confusion with the bluetooth firmware which will be added in an upcoming patch.
20 lines
610 B
Diff
20 lines
610 B
Diff
diff --git a/drivers/bus/mhi/core/pm.c b/drivers/bus/mhi/core/pm.c
|
|
index 3de7b1639ec6..02882038e4cc 100644
|
|
--- a/drivers/bus/mhi/core/pm.c
|
|
+++ b/drivers/bus/mhi/core/pm.c
|
|
@@ -55,12 +55,12 @@ static struct mhi_pm_transitions const dev_state_transitions[] = {
|
|
},
|
|
{
|
|
MHI_PM_M0,
|
|
- MHI_PM_M0 | MHI_PM_M2 | MHI_PM_M3_ENTER |
|
|
+ MHI_PM_M0 | MHI_PM_M3_ENTER |
|
|
MHI_PM_SYS_ERR_DETECT | MHI_PM_SHUTDOWN_PROCESS |
|
|
MHI_PM_LD_ERR_FATAL_DETECT | MHI_PM_FW_DL_ERR
|
|
},
|
|
{
|
|
- MHI_PM_M2,
|
|
+ MHI_PM_M0,
|
|
MHI_PM_M0 | MHI_PM_SYS_ERR_DETECT | MHI_PM_SHUTDOWN_PROCESS |
|
|
MHI_PM_LD_ERR_FATAL_DETECT
|
|
},
|