From 6b974cf3f562e71724d76c3ad21584cb8a0b7547 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 18 Apr 2012 15:10:41 +0800 Subject: [PATCH] camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it. --- drivers/media/video/rk30_camera_oneframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.34.1