projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295dea0
)
camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it.
author
root
<root@zyc-desktop.(none)>
Wed, 18 Apr 2012 07:10:41 +0000
(15:10 +0800)
committer
root
<root@zyc-desktop.(none)>
Wed, 18 Apr 2012 07:10:41 +0000
(15:10 +0800)
drivers/media/video/rk30_camera_oneframe.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/rk30_camera_oneframe.c
b/drivers/media/video/rk30_camera_oneframe.c
index d0e6114575305b20eb6b53048fd15cbd8568ccf0..2302afa101bb3187a3cd9052cb181bb3e937a400 100755
(executable)
--- 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 & (~(0x0
1
<<5)))
+#define YUV_INPUT_ORDER_UYVY(ori) (ori & (~(0x0
3
<<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))