[PATCH 0/2] Address device enumeration and run_mode

From: Mauro Carvalho Chehab
Date: Sat Nov 06 2021 - 08:05:56 EST


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@xxxxxxxxxx/

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(-)

--
2.33.1