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

Commit bd940fbe authored by Dhananjay Kumar's avatar Dhananjay Kumar Committed by Gerrit - the friendly Code Review server
Browse files

dsp: voice: Reset music_info on SSR



Reset music_info playback states during SSR to fix incall music session
failure after SSR.
Music delivery session requests are getting ignored if the state is not reset.

Change-Id: I7dd736baa538fb3697c874230c5a9c02f90b6a06
Signed-off-by: default avatarDhananjay Kumar <dhakumar@codeaurora.org>
parent 6f900e6d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -515,6 +515,8 @@ static void voc_set_error_state(uint16_t reset_proc)
		if (v != NULL) {
			v->voc_state = VOC_ERROR;
			v->rec_info.recording = 0;
			v->music_info.playing = 0;
			v->music_info.force = 0;
		}
	}
}