]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: imx-mipi-csis: Simplify mipi_csis_s_stream()
authorJacopo Mondi <jacopo@jmondi.org>
Mon, 14 Mar 2022 10:39:37 +0000 (10:39 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 08:05:56 +0000 (09:05 +0100)
commita544bca16de99e5e56e9fc9e68a845e8e9bac06e
treec9f605de512544615b7ecd0dd41af25392f1323f
parent23bea51666bcb5334e747617366a2be596df9026
media: imx: imx-mipi-csis: Simplify mipi_csis_s_stream()

Simplify the mipi_csis_s_stream() function.

This actually fixes a bug, as if calling the subdev's s_stream(1) fails,
mipi_csis_stop_stream() was not called.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/imx-mipi-csis.c