summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pvrusb2/pvrusb2-dvb.c
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2023-12-21 05:22:27 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-02-16 13:46:31 +0300
commit7c17c55248327d70b065378eaf2e8be0f22593ce (patch)
treeec658f993eb077657d7567fb3f165262f9420d35 /drivers/media/usb/pvrusb2/pvrusb2-dvb.c
parented917040ebf5a66250cfda91bf8aec325ab09724 (diff)
downloadlinux-7c17c55248327d70b065378eaf2e8be0f22593ce.tar.xz
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 'drivers/media/usb/pvrusb2/pvrusb2-dvb.c')
0 files changed, 0 insertions, 0 deletions