[PATCH 0/4] drm/udl: Fix stray URBs and cleanup

From: Takashi Iwai
Date: Thu Aug 04 2022 - 03:58:40 EST


Hi,

this is a series of fixes for UDL driver to address the leftover URBs
at suspend/resume. It begins with the simplification of FIFO control
code with the standard wait queue, followed by the handling of pending
URBs, and replace BUG_ON() with WARN_ON() as a cleanup.


Takashi

===

Takashi Iwai (4):
drm/udl: Replace semaphore with a simple wait queue
drm/udl: Sync pending URBs at suspend / disconnect
drm/udl: Kill pending URBs at suspend and disconnect
drm/udl: Replace BUG_ON() with WARN_ON()

drivers/gpu/drm/udl/udl_drv.h | 14 +++-
drivers/gpu/drm/udl/udl_main.c | 125 ++++++++++++++---------------
drivers/gpu/drm/udl/udl_modeset.c | 4 +
drivers/gpu/drm/udl/udl_transfer.c | 3 +-
4 files changed, 79 insertions(+), 67 deletions(-)

--
2.35.3