video/rockchip: rga2: Modify the initial value of ktime_t.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ibb7226351956951ac9f805c6e79fa6ac720e209d
This commit is contained in:
Yu Qiaowei
2020-12-09 10:33:30 +08:00
committed by Tao Huang
parent 1b7d995fb2
commit 2af29f5de3

View File

@@ -691,8 +691,8 @@ static int rga2_flush(rga2_session *session, unsigned long arg)
{
int ret = 0;
int ret_timeout;
ktime_t start;
ktime_t end;
ktime_t start = ktime_set(0, 0);
ktime_t end = ktime_set(0, 0);
#if RGA2_DEBUGFS
if (RGA2_TEST_TIME)