diff options
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-driver.c | 30 | ||||
-rw-r--r-- | drivers/media/pci/bt8xx/bttvp.h | 1 | ||||
-rw-r--r-- | drivers/media/pci/bt8xx/dst_ca.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/altera-ci.c | 4 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/cimax2.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-cards.c | 3 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-video.c | 3 | ||||
-rw-r--r-- | drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx25821/cx25821-video-upstream.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-blackbird.c | 6 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-mpeg.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-tvaudio.c | 4 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-video.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-video.c | 2 |
15 files changed, 47 insertions, 20 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index b68918c97f66..56c6c77793d7 100644 --- a/drivers/media/pci/bt8xx/bttv-driver.c +++ b/drivers/media/pci/bt8xx/bttv-driver.c | |||
@@ -668,6 +668,12 @@ static const struct v4l2_queryctrl bttv_ctls[] = { | |||
668 | .default_value = 32768, | 668 | .default_value = 32768, |
669 | .type = V4L2_CTRL_TYPE_INTEGER, | 669 | .type = V4L2_CTRL_TYPE_INTEGER, |
670 | },{ | 670 | },{ |
671 | .id = V4L2_CID_COLOR_KILLER, | ||
672 | .name = "Color killer", | ||
673 | .minimum = 0, | ||
674 | .maximum = 1, | ||
675 | .type = V4L2_CTRL_TYPE_BOOLEAN, | ||
676 | }, { | ||
671 | .id = V4L2_CID_HUE, | 677 | .id = V4L2_CID_HUE, |
672 | .name = "Hue", | 678 | .name = "Hue", |
673 | .minimum = 0, | 679 | .minimum = 0, |
@@ -1474,6 +1480,9 @@ static int bttv_g_ctrl(struct file *file, void *priv, | |||
1474 | case V4L2_CID_SATURATION: | 1480 | case V4L2_CID_SATURATION: |
1475 | c->value = btv->saturation; | 1481 | c->value = btv->saturation; |
1476 | break; | 1482 | break; |
1483 | case V4L2_CID_COLOR_KILLER: | ||
1484 | c->value = btv->opt_color_killer; | ||
1485 | break; | ||
1477 | 1486 | ||
1478 | case V4L2_CID_AUDIO_MUTE: | 1487 | case V4L2_CID_AUDIO_MUTE: |
1479 | case V4L2_CID_AUDIO_VOLUME: | 1488 | case V4L2_CID_AUDIO_VOLUME: |
@@ -1526,7 +1535,6 @@ static int bttv_s_ctrl(struct file *file, void *f, | |||
1526 | struct v4l2_control *c) | 1535 | struct v4l2_control *c) |
1527 | { | 1536 | { |
1528 | int err; | 1537 | int err; |
1529 | int val; | ||
1530 | struct bttv_fh *fh = f; | 1538 | struct bttv_fh *fh = f; |
1531 | struct bttv *btv = fh->btv; | 1539 | struct bttv *btv = fh->btv; |
1532 | 1540 | ||
@@ -1547,6 +1555,16 @@ static int bttv_s_ctrl(struct file *file, void *f, | |||
1547 | case V4L2_CID_SATURATION: | 1555 | case V4L2_CID_SATURATION: |
1548 | bt848_sat(btv, c->value); | 1556 | bt848_sat(btv, c->value); |
1549 | break; | 1557 | break; |
1558 | case V4L2_CID_COLOR_KILLER: | ||
1559 | btv->opt_color_killer = c->value; | ||
1560 | if (btv->opt_color_killer) { | ||
1561 | btor(BT848_SCLOOP_CKILL, BT848_E_SCLOOP); | ||
1562 | btor(BT848_SCLOOP_CKILL, BT848_O_SCLOOP); | ||
1563 | } else { | ||
1564 | btand(~BT848_SCLOOP_CKILL, BT848_E_SCLOOP); | ||
1565 | btand(~BT848_SCLOOP_CKILL, BT848_O_SCLOOP); | ||
1566 | } | ||
1567 | break; | ||
1550 | case V4L2_CID_AUDIO_MUTE: | 1568 | case V4L2_CID_AUDIO_MUTE: |
1551 | audio_mute(btv, c->value); | 1569 | audio_mute(btv, c->value); |
1552 | /* fall through */ | 1570 | /* fall through */ |
@@ -1564,9 +1582,13 @@ static int bttv_s_ctrl(struct file *file, void *f, | |||
1564 | 1582 | ||
1565 | case V4L2_CID_PRIVATE_CHROMA_AGC: | 1583 | case V4L2_CID_PRIVATE_CHROMA_AGC: |
1566 | btv->opt_chroma_agc = c->value; | 1584 | btv->opt_chroma_agc = c->value; |
1567 | val = btv->opt_chroma_agc ? BT848_SCLOOP_CAGC : 0; | 1585 | if (btv->opt_chroma_agc) { |
1568 | btwrite(val, BT848_E_SCLOOP); | 1586 | btor(BT848_SCLOOP_CAGC, BT848_E_SCLOOP); |
1569 | btwrite(val, BT848_O_SCLOOP); | 1587 | btor(BT848_SCLOOP_CAGC, BT848_O_SCLOOP); |
1588 | } else { | ||
1589 | btand(~BT848_SCLOOP_CAGC, BT848_E_SCLOOP); | ||
1590 | btand(~BT848_SCLOOP_CAGC, BT848_O_SCLOOP); | ||
1591 | } | ||
1570 | break; | 1592 | break; |
1571 | case V4L2_CID_PRIVATE_COMBFILTER: | 1593 | case V4L2_CID_PRIVATE_COMBFILTER: |
1572 | btv->opt_combfilter = c->value; | 1594 | btv->opt_combfilter = c->value; |
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h index 70fd4f23f605..9ec0adba236c 100644 --- a/drivers/media/pci/bt8xx/bttvp.h +++ b/drivers/media/pci/bt8xx/bttvp.h | |||
@@ -429,6 +429,7 @@ struct bttv { | |||
429 | int opt_lumafilter; | 429 | int opt_lumafilter; |
430 | int opt_automute; | 430 | int opt_automute; |
431 | int opt_chroma_agc; | 431 | int opt_chroma_agc; |
432 | int opt_color_killer; | ||
432 | int opt_adc_crush; | 433 | int opt_adc_crush; |
433 | int opt_vcr_hack; | 434 | int opt_vcr_hack; |
434 | int opt_whitecrush_upper; | 435 | int opt_whitecrush_upper; |
diff --git a/drivers/media/pci/bt8xx/dst_ca.c b/drivers/media/pci/bt8xx/dst_ca.c index ee3884fbc9ce..7d96fab7d246 100644 --- a/drivers/media/pci/bt8xx/dst_ca.c +++ b/drivers/media/pci/bt8xx/dst_ca.c | |||
@@ -646,7 +646,7 @@ static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioct | |||
646 | dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !"); | 646 | dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !"); |
647 | default: | 647 | default: |
648 | result = -EOPNOTSUPP; | 648 | result = -EOPNOTSUPP; |
649 | }; | 649 | } |
650 | free_mem_and_exit: | 650 | free_mem_and_exit: |
651 | kfree (p_ca_message); | 651 | kfree (p_ca_message); |
652 | kfree (p_ca_slot_info); | 652 | kfree (p_ca_slot_info); |
diff --git a/drivers/media/pci/cx23885/altera-ci.c b/drivers/media/pci/cx23885/altera-ci.c index aee7f0dacff1..495781ee4711 100644 --- a/drivers/media/pci/cx23885/altera-ci.c +++ b/drivers/media/pci/cx23885/altera-ci.c | |||
@@ -416,7 +416,7 @@ static void netup_read_ci_status(struct work_struct *work) | |||
416 | DVB_CA_EN50221_POLL_CAM_READY : 0); | 416 | DVB_CA_EN50221_POLL_CAM_READY : 0); |
417 | ci_dbg_print("%s: setting CI[1] status = 0x%x\n", | 417 | ci_dbg_print("%s: setting CI[1] status = 0x%x\n", |
418 | __func__, inter->state[1]->status); | 418 | __func__, inter->state[1]->status); |
419 | }; | 419 | } |
420 | 420 | ||
421 | if (inter->state[0] != NULL) { | 421 | if (inter->state[0] != NULL) { |
422 | inter->state[0]->status = | 422 | inter->state[0]->status = |
@@ -425,7 +425,7 @@ static void netup_read_ci_status(struct work_struct *work) | |||
425 | DVB_CA_EN50221_POLL_CAM_READY : 0); | 425 | DVB_CA_EN50221_POLL_CAM_READY : 0); |
426 | ci_dbg_print("%s: setting CI[0] status = 0x%x\n", | 426 | ci_dbg_print("%s: setting CI[0] status = 0x%x\n", |
427 | __func__, inter->state[0]->status); | 427 | __func__, inter->state[0]->status); |
428 | }; | 428 | } |
429 | } | 429 | } |
430 | 430 | ||
431 | /* CI irq handler */ | 431 | /* CI irq handler */ |
diff --git a/drivers/media/pci/cx23885/cimax2.c b/drivers/media/pci/cx23885/cimax2.c index c9f15d6dec40..6617774a326a 100644 --- a/drivers/media/pci/cx23885/cimax2.c +++ b/drivers/media/pci/cx23885/cimax2.c | |||
@@ -193,7 +193,7 @@ int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, | |||
193 | 0, &store, 1); | 193 | 0, &store, 1); |
194 | if (ret != 0) | 194 | if (ret != 0) |
195 | return ret; | 195 | return ret; |
196 | }; | 196 | } |
197 | state->current_ci_flag = flag; | 197 | state->current_ci_flag = flag; |
198 | 198 | ||
199 | mutex_lock(&dev->gpio_lock); | 199 | mutex_lock(&dev->gpio_lock); |
diff --git a/drivers/media/pci/cx23885/cx23885-cards.c b/drivers/media/pci/cx23885/cx23885-cards.c index 39a4a4b9ed7e..5acdf954ff6b 100644 --- a/drivers/media/pci/cx23885/cx23885-cards.c +++ b/drivers/media/pci/cx23885/cx23885-cards.c | |||
@@ -542,11 +542,13 @@ struct cx23885_board cx23885_boards[] = { | |||
542 | { | 542 | { |
543 | .type = CX23885_VMUX_COMPOSITE1, | 543 | .type = CX23885_VMUX_COMPOSITE1, |
544 | .vmux = CX25840_COMPOSITE8, | 544 | .vmux = CX25840_COMPOSITE8, |
545 | .amux = CX25840_AUDIO7, | ||
545 | }, | 546 | }, |
546 | { | 547 | { |
547 | .type = CX23885_VMUX_SVIDEO, | 548 | .type = CX23885_VMUX_SVIDEO, |
548 | .vmux = CX25840_SVIDEO_LUMA3 | | 549 | .vmux = CX25840_SVIDEO_LUMA3 | |
549 | CX25840_SVIDEO_CHROMA4, | 550 | CX25840_SVIDEO_CHROMA4, |
551 | .amux = CX25840_AUDIO7, | ||
550 | }, | 552 | }, |
551 | { | 553 | { |
552 | .type = CX23885_VMUX_COMPONENT, | 554 | .type = CX23885_VMUX_COMPONENT, |
@@ -554,6 +556,7 @@ struct cx23885_board cx23885_boards[] = { | |||
554 | CX25840_VIN1_CH1 | | 556 | CX25840_VIN1_CH1 | |
555 | CX25840_VIN6_CH2 | | 557 | CX25840_VIN6_CH2 | |
556 | CX25840_VIN7_CH3, | 558 | CX25840_VIN7_CH3, |
559 | .amux = CX25840_AUDIO7, | ||
557 | }, | 560 | }, |
558 | }, | 561 | }, |
559 | }, | 562 | }, |
diff --git a/drivers/media/pci/cx23885/cx23885-video.c b/drivers/media/pci/cx23885/cx23885-video.c index 8c4a9a5f9a50..1a21926ca412 100644 --- a/drivers/media/pci/cx23885/cx23885-video.c +++ b/drivers/media/pci/cx23885/cx23885-video.c | |||
@@ -508,7 +508,8 @@ static int cx23885_video_mux(struct cx23885_dev *dev, unsigned int input) | |||
508 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1250) || | 508 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1250) || |
509 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1255) || | 509 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1255) || |
510 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1255_22111) || | 510 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1255_22111) || |
511 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1850)) { | 511 | (dev->board == CX23885_BOARD_HAUPPAUGE_HVR1850) || |
512 | (dev->board == CX23885_BOARD_MYGICA_X8507)) { | ||
512 | /* Configure audio routing */ | 513 | /* Configure audio routing */ |
513 | v4l2_subdev_call(dev->sd_cx25840, audio, s_routing, | 514 | v4l2_subdev_call(dev->sd_cx25840, audio, s_routing, |
514 | INPUT(input)->amux, 0, 0); | 515 | INPUT(input)->amux, 0, 0); |
diff --git a/drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c b/drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c index c8c94fbf5d8d..d33fc1a23030 100644 --- a/drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c +++ b/drivers/media/pci/cx25821/cx25821-video-upstream-ch2.c | |||
@@ -761,7 +761,7 @@ int cx25821_vidupstream_init_ch2(struct cx25821_dev *dev, int channel_select, | |||
761 | } | 761 | } |
762 | 762 | ||
763 | /* Default if filename is empty string */ | 763 | /* Default if filename is empty string */ |
764 | if (strcmp(dev->input_filename_ch2, "") == 0) { | 764 | if (strcmp(dev->_filename_ch2, "") == 0) { |
765 | if (dev->_isNTSC_ch2) { | 765 | if (dev->_isNTSC_ch2) { |
766 | dev->_filename_ch2 = (dev->_pixel_format_ch2 == | 766 | dev->_filename_ch2 = (dev->_pixel_format_ch2 == |
767 | PIXEL_FRMT_411) ? "/root/vid411.yuv" : | 767 | PIXEL_FRMT_411) ? "/root/vid411.yuv" : |
diff --git a/drivers/media/pci/cx25821/cx25821-video-upstream.c b/drivers/media/pci/cx25821/cx25821-video-upstream.c index 52c13e0b6492..6759fff8eb64 100644 --- a/drivers/media/pci/cx25821/cx25821-video-upstream.c +++ b/drivers/media/pci/cx25821/cx25821-video-upstream.c | |||
@@ -808,7 +808,7 @@ int cx25821_vidupstream_init_ch1(struct cx25821_dev *dev, int channel_select, | |||
808 | } | 808 | } |
809 | 809 | ||
810 | /* Default if filename is empty string */ | 810 | /* Default if filename is empty string */ |
811 | if (strcmp(dev->input_filename, "") == 0) { | 811 | if (strcmp(dev->_filename, "") == 0) { |
812 | if (dev->_isNTSC) { | 812 | if (dev->_isNTSC) { |
813 | dev->_filename = | 813 | dev->_filename = |
814 | (dev->_pixel_format == PIXEL_FRMT_411) ? | 814 | (dev->_pixel_format == PIXEL_FRMT_411) ? |
diff --git a/drivers/media/pci/cx88/cx88-blackbird.c b/drivers/media/pci/cx88/cx88-blackbird.c index def363fb71c0..62184eb919e5 100644 --- a/drivers/media/pci/cx88/cx88-blackbird.c +++ b/drivers/media/pci/cx88/cx88-blackbird.c | |||
@@ -721,7 +721,7 @@ static int vidioc_g_fmt_vid_cap (struct file *file, void *priv, | |||
721 | 721 | ||
722 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 722 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
723 | f->fmt.pix.bytesperline = 0; | 723 | f->fmt.pix.bytesperline = 0; |
724 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 724 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
725 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 725 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
726 | f->fmt.pix.width = dev->width; | 726 | f->fmt.pix.width = dev->width; |
727 | f->fmt.pix.height = dev->height; | 727 | f->fmt.pix.height = dev->height; |
@@ -739,7 +739,7 @@ static int vidioc_try_fmt_vid_cap (struct file *file, void *priv, | |||
739 | 739 | ||
740 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 740 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
741 | f->fmt.pix.bytesperline = 0; | 741 | f->fmt.pix.bytesperline = 0; |
742 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 742 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
743 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 743 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
744 | dprintk(1, "VIDIOC_TRY_FMT: w: %d, h: %d, f: %d\n", | 744 | dprintk(1, "VIDIOC_TRY_FMT: w: %d, h: %d, f: %d\n", |
745 | dev->width, dev->height, fh->mpegq.field ); | 745 | dev->width, dev->height, fh->mpegq.field ); |
@@ -755,7 +755,7 @@ static int vidioc_s_fmt_vid_cap (struct file *file, void *priv, | |||
755 | 755 | ||
756 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 756 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
757 | f->fmt.pix.bytesperline = 0; | 757 | f->fmt.pix.bytesperline = 0; |
758 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 758 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
759 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 759 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
760 | dev->width = f->fmt.pix.width; | 760 | dev->width = f->fmt.pix.width; |
761 | dev->height = f->fmt.pix.height; | 761 | dev->height = f->fmt.pix.height; |
diff --git a/drivers/media/pci/cx88/cx88-dvb.c b/drivers/media/pci/cx88/cx88-dvb.c index d803bba09525..666f83b2f3c0 100644 --- a/drivers/media/pci/cx88/cx88-dvb.c +++ b/drivers/media/pci/cx88/cx88-dvb.c | |||
@@ -896,7 +896,7 @@ static int samsung_smt_7020_set_voltage(struct dvb_frontend *fe, | |||
896 | break; | 896 | break; |
897 | default: | 897 | default: |
898 | return -EINVAL; | 898 | return -EINVAL; |
899 | }; | 899 | } |
900 | 900 | ||
901 | return (i2c_transfer(&dev->core->i2c_adap, &msg, 1) == 1) ? 0 : -EIO; | 901 | return (i2c_transfer(&dev->core->i2c_adap, &msg, 1) == 1) ? 0 : -EIO; |
902 | } | 902 | } |
diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c index c04fb618e10b..d154bc197356 100644 --- a/drivers/media/pci/cx88/cx88-mpeg.c +++ b/drivers/media/pci/cx88/cx88-mpeg.c | |||
@@ -450,7 +450,7 @@ static irqreturn_t cx8802_irq(int irq, void *dev_id) | |||
450 | cx88_core_irq(core,status); | 450 | cx88_core_irq(core,status); |
451 | if (status & PCI_INT_TSINT) | 451 | if (status & PCI_INT_TSINT) |
452 | cx8802_mpeg_irq(dev); | 452 | cx8802_mpeg_irq(dev); |
453 | }; | 453 | } |
454 | if (MAX_IRQ_LOOP == loop) { | 454 | if (MAX_IRQ_LOOP == loop) { |
455 | dprintk( 0, "clearing mask\n" ); | 455 | dprintk( 0, "clearing mask\n" ); |
456 | printk(KERN_WARNING "%s/0: irq loop -- clearing mask\n", | 456 | printk(KERN_WARNING "%s/0: irq loop -- clearing mask\n", |
diff --git a/drivers/media/pci/cx88/cx88-tvaudio.c b/drivers/media/pci/cx88/cx88-tvaudio.c index 770ec05b5e9b..424fd97495dc 100644 --- a/drivers/media/pci/cx88/cx88-tvaudio.c +++ b/drivers/media/pci/cx88/cx88-tvaudio.c | |||
@@ -373,7 +373,7 @@ static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode) | |||
373 | set_audio_registers(core, nicam_bgdki_common); | 373 | set_audio_registers(core, nicam_bgdki_common); |
374 | set_audio_registers(core, nicam_default); | 374 | set_audio_registers(core, nicam_default); |
375 | break; | 375 | break; |
376 | }; | 376 | } |
377 | 377 | ||
378 | mode |= EN_DMTRX_LR | EN_DMTRX_BYPASS; | 378 | mode |= EN_DMTRX_LR | EN_DMTRX_BYPASS; |
379 | set_audio_finish(core, mode); | 379 | set_audio_finish(core, mode); |
@@ -639,7 +639,7 @@ static void set_audio_standard_A2(struct cx88_core *core, u32 mode) | |||
639 | dprintk("%s Warning: wrong value\n", __func__); | 639 | dprintk("%s Warning: wrong value\n", __func__); |
640 | return; | 640 | return; |
641 | break; | 641 | break; |
642 | }; | 642 | } |
643 | 643 | ||
644 | mode |= EN_FMRADIO_EN_RDS | EN_DMTRX_SUMDIFF; | 644 | mode |= EN_FMRADIO_EN_RDS | EN_DMTRX_SUMDIFF; |
645 | set_audio_finish(core, mode); | 645 | set_audio_finish(core, mode); |
diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c index a146d50d7795..05171457bf28 100644 --- a/drivers/media/pci/cx88/cx88-video.c +++ b/drivers/media/pci/cx88/cx88-video.c | |||
@@ -1535,7 +1535,7 @@ static irqreturn_t cx8800_irq(int irq, void *dev_id) | |||
1535 | cx88_core_irq(core,status); | 1535 | cx88_core_irq(core,status); |
1536 | if (status & PCI_INT_VIDINT) | 1536 | if (status & PCI_INT_VIDINT) |
1537 | cx8800_vid_irq(dev); | 1537 | cx8800_vid_irq(dev); |
1538 | }; | 1538 | } |
1539 | if (10 == loop) { | 1539 | if (10 == loop) { |
1540 | printk(KERN_WARNING "%s/0: irq loop -- clearing mask\n", | 1540 | printk(KERN_WARNING "%s/0: irq loop -- clearing mask\n", |
1541 | core->name); | 1541 | core->name); |
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c index 22f8758d047f..4a77124ee70e 100644 --- a/drivers/media/pci/saa7134/saa7134-video.c +++ b/drivers/media/pci/saa7134/saa7134-video.c | |||
@@ -1204,7 +1204,7 @@ int saa7134_s_ctrl_internal(struct saa7134_dev *dev, struct saa7134_fh *fh, str | |||
1204 | break; | 1204 | break; |
1205 | default: | 1205 | default: |
1206 | /* nothing */; | 1206 | /* nothing */; |
1207 | }; | 1207 | } |
1208 | switch (c->id) { | 1208 | switch (c->id) { |
1209 | case V4L2_CID_BRIGHTNESS: | 1209 | case V4L2_CID_BRIGHTNESS: |
1210 | dev->ctl_bright = c->value; | 1210 | dev->ctl_bright = c->value; |