From: Mark Yao Date: Thu, 30 Mar 2017 10:44:47 +0000 (+0800) Subject: video/rockchip: rga2: reduce work timeout to 100ms X-Git-Tag: firefly_0821_release~184 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=325807d0a806c0faf73545df995b215f800b4467;p=firefly-linux-kernel-4.4.55.git video/rockchip: rga2: reduce work timeout to 100ms 100ms timeout is enough, 2 second timeout is too long. Change-Id: I02f37280733dae307e81b417d9f3f547ba50259d Signed-off-by: Mark Yao --- diff --git a/drivers/video/rockchip/rga2/rga2_drv.c b/drivers/video/rockchip/rga2/rga2_drv.c index 05c927518f17..83bec1058fa4 100644 --- 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 /* 2s */ +#define RGA2_TIMEOUT_DELAY (HZ / 10) /* 100ms */ #define RGA2_MAJOR 255 #define RGA2_RESET_TIMEOUT 1000