Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330928
b: refs/heads/master
c: 4b83a7a
h: refs/heads/master
v: v3
  • Loading branch information
Anton Nurkin authored and Mauro Carvalho Chehab committed Sep 10, 2012
1 parent 449360d commit 494733c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 0a23dc24cd007a1dd6efade8384dbe735b3b0d4f
refs/heads/master: 4b83a7a75375f9d5edd1fb0067986a0f23695ddd
4 changes: 3 additions & 1 deletion trunk/drivers/media/pci/cx23885/altera-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ int altera_ci_init(struct altera_ci_config *config, int ci_nr)
if (temp_int != NULL) {
inter = temp_int->internal;
(inter->cis_used)++;
inter->fpga_rw = config->fpga_rw;
ci_dbg_print("%s: Find Internal Structure!\n", __func__);
} else {
inter = kzalloc(sizeof(struct fpga_internal), GFP_KERNEL);
Expand All @@ -743,7 +744,6 @@ int altera_ci_init(struct altera_ci_config *config, int ci_nr)

ci_dbg_print("%s: setting state = %p for ci = %d\n", __func__,
state, ci_nr - 1);
inter->state[ci_nr - 1] = state;
state->internal = inter;
state->nr = ci_nr - 1;

Expand All @@ -765,6 +765,8 @@ int altera_ci_init(struct altera_ci_config *config, int ci_nr)
if (0 != ret)
goto err;

inter->state[ci_nr - 1] = state;

altera_hw_filt_init(config, ci_nr);

if (inter->strt_wrk) {
Expand Down

0 comments on commit 494733c

Please sign in to comment.