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

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

Merge "dsp: q6afe: reset clk_state and clk_status when adsp ssr happens"

parents c285d080 2bf20602
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -962,6 +962,8 @@ static int32_t afe_callback(struct apr_client_data *data, void *priv)
		if (this_afe.apr) {
			apr_reset(this_afe.apr);
			atomic_set(&this_afe.state, 0);
			atomic_set(&this_afe.clk_state, 0);
			atomic_set(&this_afe.clk_status, ADSP_ENOTREADY);
			this_afe.apr = NULL;
			rtac_set_afe_handle(this_afe.apr);
		}