Messages in this thread | | | From | Mauro Carvalho Chehab <> | Subject | [PATCH 0/2] Address device enumeration and run_mode | Date | Sat, 6 Nov 2021 12:05:35 +0000 |
| |
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(-)
-- 2.33.1
| |