Skip to content

Address device enumeration and run_mode

Mauro Carvalho Chehab linux-media linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: atomisp: set per-device's default modedrivers/staging/media/atomisp/pci/atomisp_fops.c drivers/staging/media/atomisp/pci/atomisp_subdev.c drivers/staging/media/atomisp/pci/atomisp_subdev.h +2 more+23 -70 replies
2/2media: atomisp: register first the preview devnodedrivers/staging/media/atomisp/pci/atomisp_subdev.c+9 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Address device enumeration and run_mode

As the atomisp is starting to work with normal V4L2 apps (on USERPTR mode), change the code to:

1. start creating devices from the one that atually works with normal apps (the preview device, previously /dev/video2);

2. Set run_mode for all device types that need it.

Please notice that patch 1 replaces a previously sent patch:

	https://lore.kernel.org/all/543e61dd07c90a7d8577b3a94696edc77953b9d8.1635497370.git.mchehab+huawei@kernel.org/

Mauro Carvalho Chehab (2):
media: atomisp: set per-device's default mode
media: atomisp: register first the preview devnode

 .../staging/media/atomisp/pci/atomisp_fops.c  |  5 +++
 .../media/atomisp/pci/atomisp_subdev.c        | 31 ++++++++++++-------
 .../media/atomisp/pci/atomisp_subdev.h        |  3 ++
 .../staging/media/atomisp/pci/atomisp_v4l2.c  |  4 ++-
 .../staging/media/atomisp/pci/atomisp_v4l2.h  |  3 +-
 5 files changed, 32 insertions(+), 14 deletions(-)
Signature · 1 line
2.33.1