summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2023-12-18 15:47:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 15:57:29 +0100
commit738ec5ab7acca7ee5856e36a5a6a0c41201fe88f (patch)
tree665ae4ad146789bb01e31b370dc85df83eb903a2 /drivers/usb/cdns3/cdns3-ti.c
parent730e12fbec53ab59dd807d981a204258a4cfb29a (diff)
usb: ueagle-atm: Use wait_event_freezable_timeout() in uea_wait()
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> Link: https://lore.kernel.org/r/20231218074730.1898699-1-haokexin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions