diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-03-11 13:29:03 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-24 09:05:05 +0100 |
commit | 2eab8739b6f6b3076a93d4b57f1b7cc92253b7c3 (patch) | |
tree | 5d42156f82f746c7319546f0876fc33e959307ed /drivers/media/platform/nxp | |
parent | 24aad87b48f4d9987221a81d9fff927713540c5e (diff) |
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/nxp')
-rw-r--r-- | drivers/media/platform/nxp/imx-mipi-csis.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/nxp/imx-mipi-csis.c b/drivers/media/platform/nxp/imx-mipi-csis.c index 3a6a76156609..1b7390bba3a0 100644 --- a/drivers/media/platform/nxp/imx-mipi-csis.c +++ b/drivers/media/platform/nxp/imx-mipi-csis.c @@ -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; |