From: Biren Pandya <birenpandya@gmail.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org
Cc: "Jacopo Mondi" <jacopo+renesas@jmondi.org>,
"Kieran Bingham" <kieran.bingham+renesas@ideasonboard.com>,
"Laurent Pinchart" <laurent.pinchart+renesas@ideasonboard.com>,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
linux-kernel@vger.kernel.org, birenpandya@gmail.com
Subject: [PATCH v2 0/5] media: i2c: Add missing media_entity_cleanup()
Date: Tue, 23 Jun 2026 00:18:41 +0530 [thread overview]
Message-ID: <20260622184840.66226-7-birenpandya@gmail.com> (raw)
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.
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(-)
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-06-22 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-22 18:48 Biren Pandya [this message]
2026-06-22 18:48 ` [PATCH v2 1/5] media: i2c: cx25840-core: Add missing media_entity_cleanup() Biren Pandya
2026-06-22 18:48 ` [PATCH v2 2/5] media: i2c: max9286: " Biren Pandya
2026-06-22 18:48 ` [PATCH v2 3/5] media: i2c: msp3400-driver: " Biren Pandya
2026-06-22 18:48 ` [PATCH v2 4/5] media: i2c: mt9v011: " Biren Pandya
2026-06-22 18:48 ` [PATCH v2 5/5] media: i2c: saa7115: " Biren Pandya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260622184840.66226-7-birenpandya@gmail.com \
--to=birenpandya@gmail.com \
--cc=jacopo+renesas@jmondi.org \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox