Skip to content

media: i2c: Add missing media_entity_cleanup()

Biren Pandya linux-media lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 0 repliesNew
  2. v2 posting 1/25 patches 0 repliesSuperseded
  3. v15 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Dropped "prevent memory leaks" from commit messages since media_entity_cleanup() is currently a no-op. (Jacopo)
- Added missing cleanup to the probe error path in msp3400-driver. (Jacopo)
- Added Reviewed-by tag to max9286 patch.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5media: i2c: cx25840-core: Add missing media_entity_cleanup()drivers/media/i2c/cx25840/cx25840-core.c+2 -00 replies
2/5media: i2c: max9286: Add missing media_entity_cleanup()drivers/media/i2c/max9286.c+4 -10 replies
3/5media: i2c: msp3400-driver: Add missing media_entity_cleanup()drivers/media/i2c/msp3400-driver.c+3 -00 replies
4/5media: i2c: mt9v011: Add missing media_entity_cleanup()drivers/media/i2c/mt9v011.c+3 -00 replies
5/5media: i2c: saa7115: Add missing media_entity_cleanup()drivers/media/i2c/saa7115.c+2 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchJacopo Mondi
1/5
2/5R-b
3/5
4/5
5/5

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/5] media: i2c: Add missing media_entity_cleanup()

This series adds missing media_entity_cleanup() calls to the remove functions of several media I2C drivers that initialize media entity pads in their probe functions.

This is part of a larger effort to fix missing media_entity_cleanup() calls across the media subsystem. Previously sent as a monolithic tree-wide patch, this has been split into directory-scoped series to keep review manageable.

Changes in v2:
- Dropped "prevent memory leaks" from commit messages since media_entity_cleanup() is currently a no-op. (Jacopo)
- Added missing cleanup to the probe error path in msp3400-driver. (Jacopo)
- Added Reviewed-by tag to max9286 patch.

Biren Pandya (5):
media: i2c: cx25840-core: Add missing media_entity_cleanup()
media: i2c: max9286: Add missing media_entity_cleanup()
media: i2c: msp3400-driver: Add missing media_entity_cleanup()
media: i2c: mt9v011: Add missing media_entity_cleanup()
media: i2c: saa7115: Add missing media_entity_cleanup()

 drivers/media/i2c/cx25840/cx25840-core.c | 2 ++
 drivers/media/i2c/max9286.c              | 5 ++++-
 drivers/media/i2c/msp3400-driver.c       | 3 +++
 drivers/media/i2c/mt9v011.c              | 3 +++
 drivers/media/i2c/saa7115.c              | 2 ++
 5 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
2.50.1 (Apple Git-155)