Skip to content

media: imx: staging cleanup

Jiaqi Shi imx linux-media linux-staging 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest3 patches 2 repliesIn review

Changes in v9 from the cover letter

- Split the previous cleanup into three smaller patches as requested by
Frank: control inheritance removal, format handling rework, and FIM removal.
- imx_media_capture_device_remove() removal is a consequence of dropping the per-video-device control handler, not a separate bug fix; the original error paths had no leak.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: imx: remove subdev control inheritance to capture video nodesDocumentation/admin-guide/media/imx.rst drivers/staging/media/imx/TODO drivers/staging/media/imx/imx-ic-prpencvf.c +4 more+8 -1570 replies
2/3media: imx: drop legacy capture format handling and validate formatsDocumentation/admin-guide/media/imx.rst drivers/staging/media/imx/TODO drivers/staging/media/imx/imx-ic-prpencvf.c +4 more+169 -2510 replies
3/3media: imx: remove frame interval monitorDocumentation/admin-guide/media/imx.rst Documentation/userspace-api/media/drivers/imx-uapi.rst Documentation/userspace-api/media/drivers/index.rst +12 more+8 -7120 replies

Reviews trailers per patch

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

Read the v9 thread

Cover letter [PATCH v9 0/3] media: imx: staging cleanup

Changes in v9:
- Split the previous cleanup into three smaller patches as requested by
Frank: control inheritance removal, format handling rework, and FIM removal.
- imx_media_capture_device_remove() removal is a consequence of dropping the per-video-device control handler, not a separate bug fix; the original error paths had no leak.

The result is identical to v8 apart from the commit split.

Validation:
- builds on media-committers next; applies cleanly with git am
- checkpatch.pl --strict is clean
- i.MX register-level and hardware DMA paths remain untested

Jiaqi Shi (3):
media: imx: remove subdev control inheritance to capture video nodes
media: imx: drop legacy capture format handling and validate formats
media: imx: remove frame interval monitor

 Documentation/admin-guide/media/imx.rst       |  31 +-
 .../userspace-api/media/drivers/imx-uapi.rst  | 125 -----
 .../userspace-api/media/drivers/index.rst     |   1 -
 MAINTAINERS                                   |   2 -
 drivers/staging/media/imx/Makefile            |   2 +-
 drivers/staging/media/imx/TODO                |  13 -
 drivers/staging/media/imx/imx-ic-prp.c        |   1 -
 drivers/staging/media/imx/imx-ic-prpencvf.c   |  11 +-
 drivers/staging/media/imx/imx-media-capture.c | 418 ++++++-----------
 drivers/staging/media/imx/imx-media-csi.c     |  84 +---
 .../staging/media/imx/imx-media-dev-common.c  | 113 +----
 drivers/staging/media/imx/imx-media-dev.c     |   1 -
 drivers/staging/media/imx/imx-media-fim.c     | 430 ------------------
 drivers/staging/media/imx/imx-media-utils.c   |   9 +-
 drivers/staging/media/imx/imx-media-vdic.c    |   1 -
 drivers/staging/media/imx/imx-media.h         |  21 +-
 include/linux/imx-media.h                     |  25 -
 include/media/imx.h                           |  11 -
 18 files changed, 182 insertions(+), 1117 deletions(-)
 delete mode 100644 Documentation/userspace-api/media/drivers/imx-uapi.rst
 delete mode 100644 drivers/staging/media/imx/TODO
 delete mode 100644 drivers/staging/media/imx/imx-media-fim.c
 delete mode 100644 include/linux/imx-media.h
 delete mode 100644 include/media/imx.h
Signature · 1 line
2.53.0