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

Commit d8563757 authored by Kuirong Wang's avatar Kuirong Wang Committed by Banajit Goswami
Browse files

ASoC: msm: add the support for ADSP event data



Add the ADSP event data definition used to pass the event registration
information to ADSP or get event payload from ADSP.

Change-Id: I05259ee1fe1faf72f90a1a56f8485cf8b1281e01
Signed-off-by: default avatarKuirong Wang <kuirongw@codeaurora.org>
parent dce0f818
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -461,4 +461,14 @@ struct msm_hwacc_effects_config {
	__s32 topology;
};

#define ADSP_STREAM_PP_EVENT     0
#define ADSP_STREAM_ENCDEC_EVENT 1
#define ADSP_STREAM_EVENT_MAX    2

struct msm_adsp_event_data {
	__u32 event_type;
	__u32 payload_len;
	__u8 payload[0];
};

#endif