media: vivid: use time_is_after_jiffies() instead of open coding it

Use the helper function time_is_{before,after}_jiffies() to improve
code readability.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Wang Qing 2022-02-14 17:55:50 -08:00 • committed by Hans Verkuil
commit 84db51f56f
4 changed files with 8 additions and 4 deletions