summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_rpf.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-11-01 12:58:29 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 17:42:45 -0300
commit59d0b2bf1d8de62d3ee8cce5c5b9463608095642 (patch)
tree365f679b2a3428ffb326a97ae04dba333eed1c2f /drivers/media/platform/vsp1/vsp1_rpf.c
parentd884a8b2a5dc2fad784a60f356d1d8d90cecb436 (diff)
downloadop-kernel-dev-59d0b2bf1d8de62d3ee8cce5c5b9463608095642.zip
op-kernel-dev-59d0b2bf1d8de62d3ee8cce5c5b9463608095642.tar.gz
[media] v4l: vsp1: Don't setup control handler when starting streaming
The control handler set operations don't program the hardware anymore, there's thus no need to call them when starting the stream. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_rpf.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_rpf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_rpf.c b/drivers/media/platform/vsp1/vsp1_rpf.c
index 9ccfb57..48870b2 100644
--- a/drivers/media/platform/vsp1/vsp1_rpf.c
+++ b/drivers/media/platform/vsp1/vsp1_rpf.c
@@ -45,11 +45,8 @@ static int rpf_s_stream(struct v4l2_subdev *subdev, int enable)
const struct v4l2_rect *crop = &rpf->crop;
u32 pstride;
u32 infmt;
- int ret;
- ret = vsp1_entity_set_streaming(&rpf->entity, enable);
- if (ret < 0)
- return ret;
+ vsp1_entity_set_streaming(&rpf->entity, enable);
if (!enable)
return 0;
OpenPOWER on IntegriCloud