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

Commit 4bb119b2 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump



CNSS_DEV_ERR_NOTIFY should not be cleared before collecting firmware
dump as device is still in asserted state. Clear it after collecting
firmware dump.

Change-Id: Ic57c65d8ffa1806a0af83e653d6573f19ab1e705
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent a093e842
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -952,8 +952,8 @@ static int cnss_do_recovery(struct cnss_plat_data *plat_priv,
			goto self_recovery;
		break;
	case CNSS_REASON_RDDM:
		clear_bit(CNSS_DEV_ERR_NOTIFY, &plat_priv->driver_state);
		cnss_bus_collect_dump_info(plat_priv);
		clear_bit(CNSS_DEV_ERR_NOTIFY, &plat_priv->driver_state);
		break;
	case CNSS_REASON_DEFAULT:
	case CNSS_REASON_TIMEOUT: