media: rcar-vin: Do not try to stop stream if not running
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 15 Jan 2021 00:21:45 +0000 (01:21 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 13:16:30 +0000 (14:16 +0100)
commitc4f115355c53a0df9ac3a8a33f31ff23970c2737
tree18bbff3568f9264535e5f378c5b52011d4023705
parentb7da24739f31f96e3ba1f3c8d9cf83851134f9ce
media: rcar-vin: Do not try to stop stream if not running

Do not attempt to stop the streaming if the stream is not running.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-dma.c