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:
d664456
)
video/rockchip: rga2: reduce work timeout to 100ms
author
Mark Yao
<mark.yao@rock-chips.com>
Thu, 30 Mar 2017 10:44:47 +0000
(18:44 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Fri, 31 Mar 2017 01:09:25 +0000
(09:09 +0800)
100ms timeout is enough, 2 second timeout is too long.
Change-Id: I02f37280733dae307e81b417d9f3f547ba50259d
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/rga2/rga2_drv.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga2/rga2_drv.c
b/drivers/video/rockchip/rga2/rga2_drv.c
index 05c927518f171a8196bab70a63708ced351c69df..83bec1058fa4ade8cd8df8beda7928de5c44676a 100644
(file)
--- a/
drivers/video/rockchip/rga2/rga2_drv.c
+++ b/
drivers/video/rockchip/rga2/rga2_drv.c
@@
-59,7
+59,7
@@
#define RGA2_TEST_FLUSH_TIME 0
#define RGA2_INFO_BUS_ERROR 1
#define RGA2_POWER_OFF_DELAY 4*HZ /* 4s */
-#define RGA2_TIMEOUT_DELAY
2*HZ /* 2
s */
+#define RGA2_TIMEOUT_DELAY
(HZ / 10) /* 100m
s */
#define RGA2_MAJOR 255
#define RGA2_RESET_TIMEOUT 1000