]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita966cb8f00ceaca2bb7bef016e0676469c67f1b8
tree933423ee3225eeabc1598aeaa0c8412eb0ba2509
parent1c02aba2e21d12010c6e0c2b817c342dae96b046
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