[media] v4l: vsp1: Simplify frame end processing
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 14 Nov 2015 18:33:40 +0000 (16:33 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 20:33:22 +0000 (17:33 -0300)
commitf9df34f8cd0da731f65728480fe2e669391adbd0
tree66082a43382f40185392e789e574fb95c589aeba
parent7939fef4d3911695c78cb067f1e4c16056a9f113
[media] v4l: vsp1: Simplify frame end processing

The DRM pipeline, as it runs in automatic restart mode, never sees the
pipeline state set to VSP1_PIPELINE_STOPPING or VSP1_PIPELINE_STOPPED
when running the frame end interrupt handler. We can thus skip the
checks various checks in the handler and return immediately.

Similarly the DRM frame end handler calls vsp1_pipeline_run()
unnecessarily, as the state there is never VSP1_PIPELINE_STOPPED. Remove
the function call and the frame end handler is it's now empty.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_drm.c
drivers/media/platform/vsp1/vsp1_pipe.c
This page took 0.028273 seconds and 5 git commands to generate.