drm/etnaviv: Convert timeouts to secs_to_jiffies()
Changes made with the following Coccinelle rules: @@ constant C; @@ - msecs_to_jiffies(C * 1000) + secs_to_jiffies(C) @@ constant C; @@ - msecs_to_jiffies(C * MSEC_PER_SEC) + secs_to_jiffies(C) Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
committed by
Lucas Stach
parent
834f304192
commit
16ab70e8da
@@ -99,7 +99,7 @@ retry:
|
||||
mutex_unlock(&suballoc->lock);
|
||||
ret = wait_event_interruptible_timeout(suballoc->free_event,
|
||||
suballoc->free_space,
|
||||
msecs_to_jiffies(10 * 1000));
|
||||
secs_to_jiffies(10));
|
||||
if (!ret) {
|
||||
dev_err(suballoc->dev,
|
||||
"Timeout waiting for cmdbuf space\n");
|
||||
|
||||
Reference in New Issue
Block a user