Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285445
b: refs/heads/master
c: f36472d
h: refs/heads/master
i:
  285443: 96f4292
v: v3
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed Dec 30, 2011
1 parent faa73df commit d9ebd87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: a7187c324ff5a879b5b0e6bb947664071c870803
refs/heads/master: f36472da3a6d62ee46ae773bbbf05ddb24cd970c
9 changes: 5 additions & 4 deletions trunk/drivers/media/dvb/dvb-usb/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,12 @@ static int it913x_identify_state(struct usb_device *udev,
else
props->adapter[0].fe[0].stream.u.bulk.buffersize =
TS_BUFFER_SIZE_PID;
if (it913x_config.dual_mode)
if (it913x_config.dual_mode) {
props->adapter[1].fe[0].stream.u.bulk.buffersize =
props->adapter[0].fe[0].stream.u.bulk.buffersize;
props->num_adapters = 2;
} else
props->num_adapters = 1;

ret = ite_firmware_select(udev, props);

Expand All @@ -499,10 +502,8 @@ static int it913x_identify_state(struct usb_device *udev,
if (ret != 0)
ret = it913x_wr_reg(udev, DEV_0,
GPIOH1_O, 0x0);
props->num_adapters = 2;
}
} else
props->num_adapters = 1;
}

reg = it913x_read_reg(udev, IO_MUX_POWER_CLK);

Expand Down

0 comments on commit d9ebd87

Please sign in to comment.