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

Commit 5704da2d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Handle MHI MISSION_MODE notification"

parents 0bc15072 ced27781
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3132,6 +3132,8 @@ static char *cnss_mhi_notify_status_to_str(enum MHI_CB status)
		return "SYS_ERROR";
	case MHI_CB_FATAL_ERROR:
		return "FATAL_ERROR";
	case MHI_CB_EE_MISSION_MODE:
		return "MISSION_MODE";
	default:
		return "UNKNOWN";
	}
@@ -3182,6 +3184,7 @@ static void cnss_mhi_notify_status(struct mhi_controller *mhi_ctrl, void *priv,

	switch (reason) {
	case MHI_CB_IDLE:
	case MHI_CB_EE_MISSION_MODE:
		return;
	case MHI_CB_FATAL_ERROR:
		set_bit(CNSS_DEV_ERR_NOTIFY, &plat_priv->driver_state);