Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241921
b: refs/heads/master
c: 2f2710b
h: refs/heads/master
i:
  241919: ef5b642
v: v3
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent 1dde1ef commit 15a3a31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 702dd7903bda0b83f6f6cb66fdadc4e5bbb60646
refs/heads/master: 2f2710bd4ee11a06e4c87956be4733566e288a2e
8 changes: 5 additions & 3 deletions trunk/drivers/media/video/cx23885/altera-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ static void altera_pid_control(struct netup_hw_pid_filter *pid_filt,
struct fpga_internal *inter = pid_filt->internal;
u8 store = 0;

if (pid == 0x2000)
/* pid 0-0x1f always enabled, don't touch them */
if ((pid == 0x2000) || (pid < 0x20))
return;

mutex_lock(&inter->fpga_mutex);
Expand Down Expand Up @@ -567,8 +568,9 @@ static void altera_toggle_fullts_streaming(struct netup_hw_pid_filter *pid_filt,

netup_fpga_op_rw(inter, NETUP_CI_PID_ADDR1,
((i >> 8) & 0x03) | (pid_filt->nr << 2), 0);

netup_fpga_op_rw(inter, NETUP_CI_PID_DATA, store, 0);
/* pid 0-0x1f always enabled */
netup_fpga_op_rw(inter, NETUP_CI_PID_DATA,
(i > 3 ? store : 0), 0);
}

mutex_unlock(&inter->fpga_mutex);
Expand Down

0 comments on commit 15a3a31

Please sign in to comment.