MA-18933-01: media: imx8-common: change integer data type to unsigned
authorGuoniu.zhou <guoniu.zhou@nxp.com>
Tue, 20 Apr 2021 05:50:25 +0000 (13:50 +0800)
committerGuoniu.zhou <guoniu.zhou@nxp.com>
Wed, 21 Apr 2021 07:04:17 +0000 (15:04 +0800)
Change data type of ISI_2K, ISI_4K, ISI_8K to unsign integer and add macro
for ISI minimum support width or height.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
drivers/staging/media/imx/imx8-common.h

index db35e7a..0781f30 100644 (file)
 #define MXC_HDMI_RX_PAD_SOURCE         2
 #define MXC_HDMI_RX_PADS_NUM           3
 
-#define ISI_2K         2048
-#define ISI_4K         4096
-#define ISI_8K         8192
+#define ISI_2K         2048U
+#define ISI_4K         4096U
+#define ISI_8K         8192U
+#define ISI_MIN                32U
 
 enum {
        IN_PORT,