Skip to content

drm/udl: Fix USB disconnect

Thomas Zimmermann dri-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/udl: Unregister device before cleaning up on disconnectdrivers/gpu/drm/udl/udl_drv.c+1 -11 reply
2/3drm/udl: Switch poll helpers to managed cleanupdrivers/gpu/drm/udl/udl_drv.c drivers/gpu/drm/udl/udl_main.c drivers/gpu/drm/udl/udl_modeset.c+1 -31 reply
3/3drm/probe-helper: Do not fail from drmm_kms_helper_poll_init()drivers/gpu/drm/ast/ast_mode.c drivers/gpu/drm/drm_probe_helper.c include/drm/drm_probe_helper.h+8 -101 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPatrik Jakobsson
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drm/udl: Fix USB disconnect

The udl drivers prints warnings about dropped URBs from its disconnect handler. This is because the poll helper doesn't yet know that the USB device is gone. Fix the disconnect clean-up logic and use managed cleanup for poll helpers.

Thomas Zimmermann (3):
drm/udl: Unregister device before cleaning up on disconnect drm/udl: Switch poll helpers to managed cleanup drm/probe-helper: Do not fail from drmm_kms_helper_poll_init()

 drivers/gpu/drm/ast/ast_mode.c     |  5 +----
 drivers/gpu/drm/drm_probe_helper.c | 11 ++++++-----
 drivers/gpu/drm/udl/udl_drv.c      |  3 +--
 drivers/gpu/drm/udl/udl_main.c     |  2 --
 drivers/gpu/drm/udl/udl_modeset.c  |  1 +
 include/drm/drm_probe_helper.h     |  2 +-
 6 files changed, 10 insertions(+), 14 deletions(-)
Signature · 1 line
2.48.1