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

Commit d6f2dcc8 authored by Walter Yang's avatar Walter Yang
Browse files

ASoC: msm: qdsp6v2: return specific adsp error code in q6voice



Currently the error codes from adsp via apr are only printed in
logs. So it's necessary to propagate the specific adsp error
to the caller as return value. And the mapping from adsp error
to linux error is conducted during the propagation. The detailed
message associated with the error code will also be printed in
the log.

Change-Id: I1f6cac467791f26a381ec55f7bfdec96c57c47ce
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 81e1da90
Loading
Loading
Loading
Loading
+567 −31

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -1549,6 +1549,8 @@ struct voice_data {
	u32 cvs_state;
	u32 cvp_state;

	u32 async_err;

	/* Handle to MVM in the Q6 */
	u16 mvm_handle;
	/* Handle to CVS in the Q6 */