summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorWeiguang Kong <weiguang.kong@nxp.com>2017-09-28 12:44:17 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit124912f8eae4c066ab47f59c34ef50b6798970ce (patch)
treed3963b8a884e292cfd1d5c6548ac510219463fd9 /include/uapi
parent830fda43484eeb79ff6c77abbbf528f1c24a291e (diff)
MLK-16545-1: uapi: mxc_hifi4: add reset command for hifi4
add reset command declaration into mxc_hifi4.h file, this command is used to reset hifi4 codec when seeking Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/mxc_hifi4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/mxc_hifi4.h b/include/uapi/linux/mxc_hifi4.h
index 4da17005506f..27a3c4fab27a 100644
--- a/include/uapi/linux/mxc_hifi4.h
+++ b/include/uapi/linux/mxc_hifi4.h
@@ -34,6 +34,7 @@
#define HIFI4_UNLOAD_CODEC _IOW(HIFI4_IOC_MAGIC, 5, unsigned int)
#define HIFI4_GET_PCM_PROP _IOW(HIFI4_IOC_MAGIC, 6, unsigned int)
#define HIFI4_SET_CONFIG _IOW(HIFI4_IOC_MAGIC, 7, unsigned int)
+#define HIFI4_RESET_CODEC _IOW(HIFI4_IOC_MAGIC, 8, unsigned int)
#define CODEC_MP3_DEC 1
#define CODEC_AAC_DEC 2