From 1a2bbe66b1b30eef7f546141113cdefe8a1b41d7 Mon Sep 17 00:00:00 2001 From: Shunhua Lan Date: Sat, 7 Oct 2023 11:02:45 +0800 Subject: [PATCH] media: rockchip: hdmirx: add private v4l2 event add private v4l2 event: RK_HDMIRX_V4L2_EVENT_AUDIOINFO when audio info changed, driver will queue event and apps should chang audio record parameters Signed-off-by: Shunhua Lan Change-Id: I6fa6c951d648f546655475eede21d1769444741c --- include/uapi/linux/rk_hdmirx_config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/rk_hdmirx_config.h b/include/uapi/linux/rk_hdmirx_config.h index a0b7e436aed9..26dcea790013 100644 --- a/include/uapi/linux/rk_hdmirx_config.h +++ b/include/uapi/linux/rk_hdmirx_config.h @@ -82,4 +82,7 @@ enum hdmirx_color_space { #define RK_HDMIRX_V4L2_EVENT_SIGNAL_LOST \ (V4L2_EVENT_PRIVATE_START + 1) +#define RK_HDMIRX_V4L2_EVENT_AUDIOINFO \ + (V4L2_EVENT_PRIVATE_START + 2) + #endif /* _UAPI_RK_HDMIRX_CONFIG_H */