hdmitx : v2023 coverity cleanup [1/1]

PD#SWPL-176576

Problem:
1.Recursion in included headers
2.Uninitialized scalar variable
3.Dereference after null check

Solution:
1.adjust included headers
2.remove unused variable
3.add check fix it

Verify:
s7d

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: I2761e1dba4bb4fc0b1dd488ff5d4f6d0db079d08
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
diff --git a/cmd/amlogic/cmd_hdmitx21.c b/cmd/amlogic/cmd_hdmitx21.c
index c0fb98d..9f773ff 100644
--- a/cmd/amlogic/cmd_hdmitx21.c
+++ b/cmd/amlogic/cmd_hdmitx21.c
@@ -18,6 +18,7 @@
 #include <amlogic/media/vout/aml_vinfo.h>
 #include <linux/arm-smccc.h>
 #include <linux/compat.h>
+#include "../../drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_check_valid.h"
 #include "../../drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_policy_setting.h"
 
 static unsigned char edid_raw_buf[512] = {0};