diff options
author | Kevin Hao <haokexin@gmail.com> | 2023-12-21 10:22:27 +0800 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 11:46:31 +0100 |
commit | 7c17c55248327d70b065378eaf2e8be0f22593ce (patch) | |
tree | ec658f993eb077657d7567fb3f165262f9420d35 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ed917040ebf5a66250cfda91bf8aec325ab09724 (diff) |
media: msp3400: Use wait_event_freezable_timeout() in msp_sleep()
The msp_sleep() is nearly open-coded wait_event_interruptible_timeout(),
and a freezable kernel thread can enter frozen state during freezing by
either calling try_to_freeze() or using wait_event_freezable() and its
variants. So we can reimplement msp_sleep() to simply invoke
a wait_event_freezable_timeout() and then eliminate a call to
try_to_freeze().
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions