aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-04-30 08:01:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-30 08:01:04 -0400
commitdf90e2258950fd631cdbf322c1ee1f22068391aa (patch)
tree0b6dd2717c04bb7f93db6abdeda208aeea4cd74e /drivers/media/pci/cx88/cx88-dvb.c
parentaad797c89903d570c17f6affc770eb98afd74e62 (diff)
parent02615ed5e1b2283db2495af3cf8f4ee172c77d80 (diff)
Merge branch 'devel-for-v3.10' into v4l_for_linus
* patchwork: (831 commits) [media] cx88: make core less verbose [media] em28xx: fix oops at em28xx_dvb_bus_ctrl() [media] s5c73m3: fix indentation of the help section in Kconfig [media] cx25821-alsa: get rid of a __must_check warning [media] cx25821-video: declare cx25821_vidioc_s_std as static [media] cx25821-video: remove maxw from cx25821_vidioc_try_fmt_vid_cap [media] r820t: Remove a warning for an unused value [media] dib0090: Fix a warning at dib0090_set_EFUSE [media] dib8000: fix a warning [media] dib8000: Fix sub-channel range [media] dib8000: store dtv_property_cache in a temp var [media] dib8000: warning fix: declare internal functions as static [media] r820t: quiet gcc warning on n_ring [media] r820t: memory leak in release() [media] r820t: precendence bug in r820t_xtal_check() [media] videodev2.h: Remove the unused old V4L1 buffer types [media] anysee: Grammar s/report the/report to/ [media] anysee: Initialize ret = 0 in anysee_frontend_attach() [media] media: videobuf2: fix the length check for mmap [media] em28xx: save isoc endpoint number for DVB only if endpoint has alt settings with xMaxPacketSize != 0 ... Conflicts: drivers/media/pci/cx25821/cx25821-video.c drivers/media/platform/Kconfig
Diffstat (limited to 'drivers/media/pci/cx88/cx88-dvb.c')
-rw-r--r--drivers/media/pci/cx88/cx88-dvb.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/media/pci/cx88/cx88-dvb.c b/drivers/media/pci/cx88/cx88-dvb.c
index 672b267a2d3e..053ed1ba1d85 100644
--- a/drivers/media/pci/cx88/cx88-dvb.c
+++ b/drivers/media/pci/cx88/cx88-dvb.c
@@ -1042,7 +1042,7 @@ static int dvb_register(struct cx8802_dev *dev)
1042 if (!dvb_attach(isl6421_attach, 1042 if (!dvb_attach(isl6421_attach,
1043 fe0->dvb.frontend, 1043 fe0->dvb.frontend,
1044 &dev->core->i2c_adap, 1044 &dev->core->i2c_adap,
1045 0x08, ISL6421_DCL, 0x00)) 1045 0x08, ISL6421_DCL, 0x00, false))
1046 goto frontend_detach; 1046 goto frontend_detach;
1047 } 1047 }
1048 /* MFE frontend 2 */ 1048 /* MFE frontend 2 */
@@ -1279,8 +1279,16 @@ static int dvb_register(struct cx8802_dev *dev)
1279 &hauppauge_novas_config, 1279 &hauppauge_novas_config,
1280 &core->i2c_adap); 1280 &core->i2c_adap);
1281 if (fe0->dvb.frontend) { 1281 if (fe0->dvb.frontend) {
1282 bool override_tone;
1283
1284 if (core->model == 92001)
1285 override_tone = true;
1286 else
1287 override_tone = false;
1288
1282 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, 1289 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend,
1283 &core->i2c_adap, 0x08, ISL6421_DCL, 0x00)) 1290 &core->i2c_adap, 0x08, ISL6421_DCL, 0x00,
1291 override_tone))
1284 goto frontend_detach; 1292 goto frontend_detach;
1285 } 1293 }
1286 break; 1294 break;
@@ -1403,7 +1411,7 @@ static int dvb_register(struct cx8802_dev *dev)
1403 if (!dvb_attach(isl6421_attach, 1411 if (!dvb_attach(isl6421_attach,
1404 fe0->dvb.frontend, 1412 fe0->dvb.frontend,
1405 &dev->core->i2c_adap, 1413 &dev->core->i2c_adap,
1406 0x08, ISL6421_DCL, 0x00)) 1414 0x08, ISL6421_DCL, 0x00, false))
1407 goto frontend_detach; 1415 goto frontend_detach;
1408 } 1416 }
1409 /* MFE frontend 2 */ 1417 /* MFE frontend 2 */
@@ -1431,7 +1439,7 @@ static int dvb_register(struct cx8802_dev *dev)
1431 if (!dvb_attach(isl6421_attach, 1439 if (!dvb_attach(isl6421_attach,
1432 fe0->dvb.frontend, 1440 fe0->dvb.frontend,
1433 &dev->core->i2c_adap, 1441 &dev->core->i2c_adap,
1434 0x08, ISL6421_DCL, 0x00)) 1442 0x08, ISL6421_DCL, 0x00, false))
1435 goto frontend_detach; 1443 goto frontend_detach;
1436 } 1444 }
1437 break; 1445 break;