From: Frank Li <Frank.li@nxp.com>
To: Philipp Zabel <p.zabel@pengutronix.de>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Rui Miguel Silva <rmfrfs@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Martin Kepplinger-Novakovic <martink@posteo.de>,
Purism Kernel Team <kernel@puri.sm>
Cc: linux-media@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/5] media: platform: nxp: Trivial cleanup pathces
Date: Mon, 12 Jan 2026 10:06:02 -0500 [thread overview]
Message-ID: <aWUN2qRgpXXALAJg@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20251215-cam_cleanup-v3-0-a61995068f38@nxp.com>
On Mon, Dec 15, 2025 at 05:49:51PM -0500, Frank Li wrote:
> Some trivial patch to reduce goto at probe functions.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
Laurent Pinchart and Philipp Zabel:
Happy new year. Any comments about this trivial changes?
Frank
> Changes in v3:
> - rebase to v6.19-rc1
> - avoid use __free() == NULL according to cleanup.h
> - Link to v2: https://lore.kernel.org/r/20251119-cam_cleanup-v2-0-df732cc83ff1@nxp.com
>
> Changes in v2:
> - add new patch media: nxp: Add dev_err_probe() to all error paths in *async_register() helpers
> - detail change see each patch's change log.
> - Link to v1: https://lore.kernel.org/r/20251117-cam_cleanup-v1-0-6cd42872db79@nxp.com
>
> ---
> Frank Li (5):
> media: nxp: use devm_mutex_init() simple code
> media: nxp: use dev_err_probe() to simplify code
> media: nxp: imx8-isi: use devm_pm_runtime_enable() to simplify code
> media: nxp: use cleanup __free(fwnode_handle) simplify code
> media: nxp: Add dev_err_probe() to all error paths in *async_register() helpers
>
> drivers/media/platform/nxp/imx-mipi-csis.c | 54 ++++++-------
> drivers/media/platform/nxp/imx-pxp.c | 5 +-
> drivers/media/platform/nxp/imx7-media-csi.c | 14 ++--
> .../media/platform/nxp/imx8-isi/imx8-isi-core.c | 16 ++--
> drivers/media/platform/nxp/imx8mq-mipi-csi2.c | 88 ++++++++++------------
> drivers/media/platform/nxp/mx2_emmaprp.c | 7 +-
> 6 files changed, 83 insertions(+), 101 deletions(-)
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20250807-cam_cleanup-b6d90ba9dac3
>
> Best regards,
> --
> Frank Li <Frank.Li@nxp.com>
>
prev parent reply other threads:[~2026-01-12 15:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 22:49 Frank Li
2025-12-15 22:49 ` [PATCH v3 1/5] media: nxp: use devm_mutex_init() simple code Frank Li
2025-12-15 22:49 ` [PATCH v3 2/5] media: nxp: use dev_err_probe() to simplify code Frank Li
2025-12-16 7:34 ` Alexander Stein
2025-12-16 14:46 ` Frank Li
2025-12-16 14:50 ` Alexander Stein
2025-12-16 15:41 ` Frank Li
2025-12-16 15:51 ` Alexander Stein
2025-12-15 22:49 ` [PATCH v3 3/5] media: nxp: imx8-isi: use devm_pm_runtime_enable() " Frank Li
2025-12-15 22:49 ` [PATCH v3 4/5] media: nxp: use cleanup __free(fwnode_handle) " Frank Li
2025-12-15 22:49 ` [PATCH v3 5/5] media: nxp: Add dev_err_probe() to all error paths in *async_register() helpers Frank Li
2026-01-12 15:06 ` Frank Li [this message]
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=aWUN2qRgpXXALAJg@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kernel@puri.sm \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=martink@posteo.de \
--cc=mchehab@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=rmfrfs@gmail.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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
all inboxes | Powered by JetHome®