[PATCH RESEND v2 0/5] media: staging: media: imx6-mipi-csi2: trivial cleanup to prepare convert to common dw mipi csi2

Frank Li posted 5 patches 3 weeks, 1 day ago
drivers/staging/media/imx/imx6-mipi-csi2.c | 209 +++++++++++------------------
1 file changed, 80 insertions(+), 129 deletions(-)
[PATCH RESEND v2 0/5] media: staging: media: imx6-mipi-csi2: trivial cleanup to prepare convert to common dw mipi csi2
Posted by Frank Li 3 weeks, 1 day ago
Previous https://lore.kernel.org/imx/20250821-95_cam-v3-0-c9286fbb34b9@nxp.com/
There are too much patches (32) in above thread.

Just extract first 6 cleanup patches to review easily. The overall road
map see above 32 patch serise.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
- collect review by tags
- drop media: staging: media: imx6-mipi-csi2: use devm_add_action_or_reset() to simplify code
  need more time to understand nf_unregister() and subdev_unregister()'s relationship.
- detail change see each patch's change log
- move devm_mutex_init() patch to second one
- Link to v1: https://lore.kernel.org/r/20251107-stage-csi2-cleanup-v1-0-5d42535243ac@nxp.com

---
Frank Li (5):
      media: staging: media: imx6-mipi-csi2: replace spaces with tabs for alignment
      media: staging: media: imx6-mipi-csi2: use devm_mutex_init() to simplify code
      media: staging: media: imx6-mipi-csi2: use devm_clk_bulk_get_all() to fetch clocks
      media: staging: media: imx6-mipi-csi2: use guard() to simplify code
      media: staging: media: imx6-mipi-csi2: use devm_platform_ioremap_resource() simplify code

 drivers/staging/media/imx/imx6-mipi-csi2.c | 209 +++++++++++------------------
 1 file changed, 80 insertions(+), 129 deletions(-)
---
base-commit: df5d79720b152e7ff058f11ed7e88d5b5c8d2a0c
change-id: 20251106-stage-csi2-cleanup-6db1715fd187

Best regards,
--
Frank Li <Frank.Li@nxp.com>
-- 
Frank Li <Frank.Li@nxp.com>
Re: [PATCH RESEND v2 0/5] media: staging: media: imx6-mipi-csi2: trivial cleanup to prepare convert to common dw mipi csi2
Posted by Laurent Pinchart 2 weeks, 4 days ago
On Fri, Jan 16, 2026 at 11:17:55AM -0500, Frank Li wrote:
> Previous https://lore.kernel.org/imx/20250821-95_cam-v3-0-c9286fbb34b9@nxp.com/
> There are too much patches (32) in above thread.
> 
> Just extract first 6 cleanup patches to review easily. The overall road
> map see above 32 patch serise.

I've applied 1/5, 2/5 and 5/5 to my tree.

> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Changes in v2:
> - collect review by tags
> - drop media: staging: media: imx6-mipi-csi2: use devm_add_action_or_reset() to simplify code
>   need more time to understand nf_unregister() and subdev_unregister()'s relationship.
> - detail change see each patch's change log
> - move devm_mutex_init() patch to second one
> - Link to v1: https://lore.kernel.org/r/20251107-stage-csi2-cleanup-v1-0-5d42535243ac@nxp.com
> 
> ---
> Frank Li (5):
>       media: staging: media: imx6-mipi-csi2: replace spaces with tabs for alignment
>       media: staging: media: imx6-mipi-csi2: use devm_mutex_init() to simplify code
>       media: staging: media: imx6-mipi-csi2: use devm_clk_bulk_get_all() to fetch clocks
>       media: staging: media: imx6-mipi-csi2: use guard() to simplify code
>       media: staging: media: imx6-mipi-csi2: use devm_platform_ioremap_resource() simplify code
> 
>  drivers/staging/media/imx/imx6-mipi-csi2.c | 209 +++++++++++------------------
>  1 file changed, 80 insertions(+), 129 deletions(-)
> ---
> base-commit: df5d79720b152e7ff058f11ed7e88d5b5c8d2a0c
> change-id: 20251106-stage-csi2-cleanup-6db1715fd187

-- 
Regards,

Laurent Pinchart