]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: imx7_mipi_csis: Power off the source when stopping streaming
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 Mar 2020 16:06:24 +0000 (17:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:29:27 +0000 (17:29 +0100)
commit78bdcb04baa2933b1d5fbdd18c00cab084871ffb
tree8b294a6988f2058fcfb63eb4b8d4e8f3b84145d9
parent593dbc634cd3d719685a12b86fcbe65432f55ec1
media: imx: imx7_mipi_csis: Power off the source when stopping streaming

The .s_stream() implementation incorrectly powers on the source when
stopping the stream. Power it off instead.

Fixes: 66f889498a4f ("media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c