提交 2eab8739 编写于 作者: L Laurent Pinchart 提交者: Mauro Carvalho Chehab

media: imx: imx-mipi-csis: Don't stop streaming at runtime suspend time

Streaming is guaranteed to have been stopped by the time the device gets
runtime suspended, as pm_runtime_put() is called from .s_stream(0) only.
Drop the manual stop.
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: NJacopo Mondi <jacopo@jmondi.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
上级 24aad87b
......@@ -1322,7 +1322,6 @@ static int __maybe_unused mipi_csis_runtime_suspend(struct device *dev)
mutex_lock(&csis->lock);
if (csis->state & ST_POWERED) {
mipi_csis_stop_stream(csis);
ret = mipi_csis_phy_disable(csis);
if (ret)
goto unlock;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册