Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285423
b: refs/heads/master
c: 7e7b828
h: refs/heads/master
i:
  285421: 668fd39
  285419: ff2d28f
  285415: d8be7fe
  285407: df05f08
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 30, 2011
1 parent a7cb2e1 commit 45b8c3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 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: 14c038627e275f7ccec4761350783340a7c1ae2b
refs/heads/master: 7e7b8287af32400daea1e231057b4b75934af347
27 changes: 9 additions & 18 deletions trunk/drivers/media/video/em28xx/em28xx-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,31 +829,22 @@ static int em28xx_dvb_init(struct em28xx *dev)
&dev->i2c_adap, &kworld_a340_config);
break;
case EM28174_BOARD_PCTV_290E:
/* MFE
* FE 0 = DVB-T/T2 + FE 1 = DVB-C, both sharing same tuner. */
/* FE 0 */
dvb->fe[0] = dvb_attach(cxd2820r_attach,
&em28xx_cxd2820r_config, &dev->i2c_adap, NULL);
&em28xx_cxd2820r_config,
&dev->i2c_adap,
NULL);
if (dvb->fe[0]) {
/* FE 0 attach tuner */
if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60,
&dev->i2c_adap, &em28xx_cxd2820r_tda18271_config)) {
if (!dvb_attach(tda18271_attach,
dvb->fe[0],
0x60,
&dev->i2c_adap,
&em28xx_cxd2820r_tda18271_config)) {

dvb_frontend_detach(dvb->fe[0]);
result = -EINVAL;
goto out_free;
}
/* FE 1. This dvb_attach() cannot fail. */
dvb->fe[1] = dvb_attach(cxd2820r_attach, NULL, NULL,
dvb->fe[0]);
dvb->fe[1]->id = 1;
/* FE 1 attach tuner */
if (!dvb_attach(tda18271_attach, dvb->fe[1], 0x60,
&dev->i2c_adap, &em28xx_cxd2820r_tda18271_config)) {
dvb_frontend_detach(dvb->fe[1]);
/* leave FE 0 still active */
}

mfe_shared = 1;
}
break;
case EM2884_BOARD_HAUPPAUGE_WINTV_HVR_930C:
Expand Down

0 comments on commit 45b8c3e

Please sign in to comment.