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:
ad8d045
)
drivers: video: rockchip: rga2: Fix compile warning
author
Zhiqin Wei
<wzq@rock-chips.com>
Mon, 9 May 2016 08:02:30 +0000
(16:02 +0800)
committer
Gerrit Code Review
<gerrit@rock-chips.com>
Mon, 9 May 2016 08:43:56 +0000
(16:43 +0800)
Change-Id: I3622b70a5b15014ccb5fb9fc09bced97db194dc8
Signed-off-by: Zhiqin Wei <wzq@rock-chips.com>
drivers/video/rockchip/rga2/rga2_mmu_info.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga2/rga2_mmu_info.c
b/drivers/video/rockchip/rga2/rga2_mmu_info.c
index b7f2a10a5fdfec5552e0bba4a048c574144a15e1..b1cacd74e5d5414bb3e56601853e74b2e224ee60 100644
(file)
--- a/
drivers/video/rockchip/rga2/rga2_mmu_info.c
+++ b/
drivers/video/rockchip/rga2/rga2_mmu_info.c
@@
-563,6
+563,8
@@
static int rga2_mmu_info_color_palette_mode(struct rga2_reg *reg, struct rga2_re
byte_num = sw >> shift;
\r
stride = (byte_num + 3) & (~3);
\r
\r
+ SrcStart = 0;
+ DstStart = 0;
SrcMemSize = 0;
\r
DstMemSize = 0;
\r
\r
@@
-659,6
+661,7
@@
static int rga2_mmu_info_color_fill_mode(struct rga2_reg *reg, struct rga2_req *
int ret;
\r
int status;
\r
\r
+ DstMemSize = 0;
MMU_Base = NULL;
\r
\r
do {
\r