media: imx: imx7-media-csi: Drop unneeded check when starting streaming
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 27 Jan 2023 01:21:57 +0000 (02:21 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 08:05:27 +0000 (09:05 +0100)
commitdb56a4fb6923a37b437a9806189d13c89c38448b
tree15842e46c512d322455cecda71e577ea6e8c2737
parentbc0d3df31ffe87d3162710adc5a6ad0f3744b066
media: imx: imx7-media-csi: Drop unneeded check when starting streaming

The .s_stream() operation is guaranteed not to be called to start/stop
an already started/stopped subdev. Remove the unneeded check.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon-kit
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/imx7-media-csi.c