Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192883
b: refs/heads/master
c: 63b59ce
h: refs/heads/master
i:
  192881: d5e60fc
  192879: 2b55d39
v: v3
  • Loading branch information
Vaibhav Hiremath authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 1929d63 commit d7b6efc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 844cc0dcb588ee7005c70cffd92ee7a0c1270729
refs/heads/master: 63b59cecb2fa0a274d1c7240112460816d826988
13 changes: 13 additions & 0 deletions trunk/drivers/media/video/tvp514x.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ struct tvp514x_std_info {
};

static struct tvp514x_reg tvp514x_reg_list_default[0x40];

static int tvp514x_s_stream(struct v4l2_subdev *sd, int enable);
/**
* struct tvp514x_decoder - TVP5146/47 decoder object
* @sd: Subdevice Slave handle
Expand Down Expand Up @@ -644,6 +646,17 @@ static int tvp514x_s_routing(struct v4l2_subdev *sd,
/* Index out of bound */
return -EINVAL;

/*
* For the sequence streamon -> streamoff and again s_input
* it fails to lock the signal, since streamoff puts TVP514x
* into power off state which leads to failure in sub-sequent s_input.
*
* So power up the TVP514x device here, since it is important to lock
* the signal at this stage.
*/
if (!decoder->streaming)
tvp514x_s_stream(sd, 1);

input_sel = input;
output_sel = output;

Expand Down

0 comments on commit d7b6efc

Please sign in to comment.