Kevin Hao ed917040eb media: dvb_frontend: Use wait_event_freezable_timeout() for freezable kthread
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 for the following snippet of code in a kernel thread loop:
  wait_event_interruptible_timeout();
  try_to_freeze();

We can change it to a simple wait_event_freezable_timeout() and
then eliminate a function call.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-16 11:46:31 +01:00
..
2024-02-05 12:57:46 +01:00
2022-03-18 05:58:35 +01:00
2024-02-05 12:57:45 +01:00
2024-01-12 14:59:50 -08:00
2022-03-23 14:51:35 -07:00
2024-01-12 14:29:48 -08:00
2024-02-05 12:57:45 +01:00
2022-03-12 16:59:52 +01:00