From: root Date: Wed, 18 Apr 2012 07:10:41 +0000 (+0800) Subject: camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it. X-Git-Tag: firefly_0821_release~9391 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b974cf3f562e71724d76c3ad21584cb8a0b7547;p=firefly-linux-kernel-4.4.55.git camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it. --- diff --git a/drivers/media/video/rk30_camera_oneframe.c b/drivers/media/video/rk30_camera_oneframe.c index d0e611457530..2302afa101bb 100755 --- a/drivers/media/video/rk30_camera_oneframe.c +++ b/drivers/media/video/rk30_camera_oneframe.c @@ -103,7 +103,7 @@ module_param(debug, int, S_IRUGO|S_IWUSR); #define INPUT_MODE_RAW (0x04<<2) #define INPUT_MODE_JPEG (0x05<<2) #define INPUT_MODE_MIPI (0x06<<2) -#define YUV_INPUT_ORDER_UYVY(ori) (ori & (~(0x01<<5))) +#define YUV_INPUT_ORDER_UYVY(ori) (ori & (~(0x03<<5))) #define YUV_INPUT_ORDER_YVYU(ori) ((ori & (~(0x01<<6)))|(0x01<<5)) #define YUV_INPUT_ORDER_VYUY(ori) ((ori & (~(0x01<<5))) | (0x1<<6)) #define YUV_INPUT_ORDER_YUYV(ori) (ori|(0x03<<5))