Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9906
b: refs/heads/master
c: de21eb6
h: refs/heads/master
v: v3
  • Loading branch information
Ronald S. Bultje authored and Linus Torvalds committed Oct 17, 2005
1 parent a2c1793 commit c23b28b
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 9b3acc21d7677787ef456d17574a084a1c1193ae
refs/heads/master: de21eb63add932c61e018d20a760dcaed8c3e40c
10 changes: 10 additions & 0 deletions trunk/drivers/media/video/vpx3220.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,12 @@ vpx3220_command (struct i2c_client *client,
case DECODER_SET_NORM:
{
int *iarg = arg, data;
int temp_input;

/* Here we back up the input selection because it gets
overwritten when we fill the registers with the
choosen video norm */
temp_input = vpx3220_fp_read(client, 0xf2);

dprintk(1, KERN_DEBUG "%s: DECODER_SET_NORM %d\n",
I2C_NAME(client), *iarg);
Expand Down Expand Up @@ -447,6 +453,10 @@ vpx3220_command (struct i2c_client *client,

}
decoder->norm = *iarg;

/* And here we set the backed up video input again */
vpx3220_fp_write(client, 0xf2, temp_input | 0x0010);
udelay(10);
}
break;

Expand Down

0 comments on commit c23b28b

Please sign in to comment.