]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging/intel-ipu3: make imgu use fixed running mode
authorBingbu Cao <bingbu.cao@intel.com>
Mon, 30 Dec 2019 09:26:25 +0000 (10:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 4 Jan 2020 07:13:42 +0000 (08:13 +0100)
commitc7275aac5ab06215d0b4be383a9bbf727c92fb2e
tree0f6ec5591a376facfc17bc5eca403128e71b3427
parentd3225cfbeae9149ef8dfe039ebe813f9eedf137a
media: staging/intel-ipu3: make imgu use fixed running mode

Currently, the imgu running mode need user to set by v4l2 ctrl.
However, imgu only support 2 pipes and 2 operation modes - video and
still. This patch make the first imgu subdev running as video and second
one running as still, it will make the user understand easily, it can
also cover current camera use cases requirement. The running mode is set
during subdev registering, no race-condition after change, so it is safe
to change the mode data type to integer.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/media/v4l-drivers/ipu3.rst
drivers/staging/media/ipu3/include/intel-ipu3.h
drivers/staging/media/ipu3/ipu3-v4l2.c
drivers/staging/media/ipu3/ipu3.h