]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx214: Fix stop streaming
authorDaniel Gomez <daniel@qtec.com>
Thu, 3 Oct 2019 14:46:24 +0000 (16:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 27 Nov 2020 09:16:27 +0000 (10:16 +0100)
commit6b33c695ff72d2e174030bce07ed9e29cb12b401
tree754aa6a16264537e510829ddb4121621c0b75f91
parentdb83277817a4e48796393853793de23e9d710f24
media: imx214: Fix stop streaming

Stop video streaming when requested.

When s_stream is called to stop the video streaming, if/else condition calls
start_streaming function instead of the one for stopping it.

Fixes: efa7568477f0 ("media: imx214: Add imx214 camera sensor driver")
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Ricardo Ribalda <ribalda@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx214.c