]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: imx-mipi-csis: Don't stop streaming at runtime suspend time
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Mar 2022 13:29:03 +0000 (13:29 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 08:05:05 +0000 (09:05 +0100)
commit63ebe56871e177c5a7041d30d1e069f35a61cfd8
tree5d42156f82f746c7319546f0876fc33e959307ed
parentd2cef1ccecf422824bb3203cd1c8e8c33050d8b2
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>
drivers/media/platform/nxp/imx-mipi-csis.c