From 326108814bc9d7fe156ed5a485e062450478dab1 Mon Sep 17 00:00:00 2001 From: Kuirong Wang Date: Tue, 18 Apr 2017 13:29:01 -0700 Subject: 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: Kuirong Wang --- include/uapi/linux/msm_audio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_audio.h b/include/uapi/linux/msm_audio.h index 36b66c7cde76..f306949eb5e6 100644 --- a/include/uapi/linux/msm_audio.h +++ b/include/uapi/linux/msm_audio.h @@ -460,4 +460,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 -- cgit v1.2.3