OSDN Git Service

media: imx6-mipi-csi2: use pre_streamon callback to set sensor into LP11
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 29 Nov 2021 11:27:06 +0000 (12:27 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Dec 2021 14:09:14 +0000 (15:09 +0100)
commitc00d65e6df8dfe98a595c79eb6ed0ea1067ba565
tree933423ee3225eeabc1598aeaa0c8412eb0ba2509
parent9de63c91962b65f8fe2eab1748d9d85621fee08d
media: imx6-mipi-csi2: use pre_streamon callback to set sensor into LP11

Step 5 expects that the sensor is in LP11 mode. Use the new
pre_streamon callback to signal the sensor that it should switch into
LP11.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx6-mipi-csi2.c