Skip to content

drm/panel-edp: take i2c adapter module reference

Johan Hovold dri-devel lkml stable 2 versions Applied

Status from this message: Pushed to drm-misc-next:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v11 patch 3 repliesApplied

Changes in v2 from the cover letter

- fix a pre-existing leak in a corner case flagged by Sashiko that Doug thought was worth fixing
- rebase module reference patch on top of that fix

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/panel-edp: fix i2c adapter leak on probe failuredrivers/gpu/drm/panel/panel-edp.c+13 -63 replies
2/2drm/panel-edp: take i2c adapter module referencedrivers/gpu/drm/panel/panel-edp.c+2 -22 replies

Reviews trailers per patch

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

PatchDouglas Anderson
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/panel-edp: take i2c adapter module reference

The i2c subsystem currently blocks during adapter deregistration whenever there are consumers holding a reference.

Switch to using of_get_i2c_adapter_by_node() which also takes a reference to the adapter module so that an attempt to unload the module while in use fails gracefully instead of blocking uninterruptibly.

Johan

Changes in v2:
- fix a pre-existing leak in a corner case flagged by Sashiko that Doug thought was worth fixing
- rebase module reference patch on top of that fix

Johan Hovold (2):
drm/panel-edp: fix i2c adapter leak on probe failure drm/panel-edp: take i2c adapter module reference

 drivers/gpu/drm/panel/panel-edp.c | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
2.54.0