Skip to content

Commit 8c1056c

Browse files
author
Yu Qiaowei
committed
video/rockchip: rga2: Modify the initial value of ktime_t.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com> Change-Id: Ibb7226351956951ac9f805c6e79fa6ac720e209d
1 parent 53e4f68 commit 8c1056c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/video/rockchip/rga2/rga2_drv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,8 @@ static int rga2_flush(rga2_session *session, unsigned long arg)
691691
{
692692
int ret = 0;
693693
int ret_timeout;
694-
ktime_t start;
695-
ktime_t end;
694+
ktime_t start = ktime_set(0, 0);
695+
ktime_t end = ktime_set(0, 0);
696696

697697
#if RGA2_DEBUGFS
698698
if (RGA2_TEST_TIME)

0 commit comments

Comments
 (0)