camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it.
authorroot <root@zyc-desktop.(none)>
Wed, 18 Apr 2012 07:10:41 +0000 (15:10 +0800)
committerroot <root@zyc-desktop.(none)>
Wed, 18 Apr 2012 07:10:41 +0000 (15:10 +0800)
drivers/media/video/rk30_camera_oneframe.c

index d0e6114575305b20eb6b53048fd15cbd8568ccf0..2302afa101bb3187a3cd9052cb181bb3e937a400 100755 (executable)
@@ -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))