Commit 2eab8739 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarJacopo Mondi <jacopo@jmondi.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 24aad87b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;