Skip to content

HID: ensure timely release of driver resources

Dmitry Torokhov linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20230523-hid-devres-b0edd05de354

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2HID: split apart hid_device_probe to make logic more apparentdrivers/hid/hid-core.c+54 -470 replies
2/2HID: ensure timely release of driver-allocated resourcesdrivers/hid/hid-core.c include/linux/hid.h+18 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] HID: ensure timely release of driver resources

These 2 patches address an issue in HID subsystem where cleanup code in the bus code runs before releasing devres-managed resources by the driver core.

This is a V2 of the patch, which was split in 2 parts - generic cleanup and the actualy change addressing the issue.

---
Dmitry Torokhov (2):
HID: split apart hid_device_probe to make logic more apparent
HID: ensure timely release of driver-allocated resources

 drivers/hid/hid-core.c | 118 +++++++++++++++++++++++++++++--------------------
 include/linux/hid.h    |   1 +
 2 files changed, 72 insertions(+), 47 deletions(-)

---
base-commit: 9f925874281f7e8855855d6210d6e29d844e4307
change-id: 20230523-hid-devres-b0edd05de354

Best regards,

Signature · 1 line
Dmitry