diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index c342a9fe983e..99f3c39a118b 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -709,7 +709,7 @@ static int ivtv_itvc(struct ivtv *itv, unsigned int cmd, void *arg) | |||
709 | else if (itv->has_cx23415 && regs->reg >= IVTV_DECODER_OFFSET && | 709 | else if (itv->has_cx23415 && regs->reg >= IVTV_DECODER_OFFSET && |
710 | regs->reg < IVTV_DECODER_OFFSET + IVTV_DECODER_SIZE) | 710 | regs->reg < IVTV_DECODER_OFFSET + IVTV_DECODER_SIZE) |
711 | reg_start = itv->dec_mem - IVTV_DECODER_OFFSET; | 711 | reg_start = itv->dec_mem - IVTV_DECODER_OFFSET; |
712 | else if (regs->reg >= 0 && regs->reg < IVTV_ENCODER_SIZE) | 712 | else if (regs->reg < IVTV_ENCODER_SIZE) |
713 | reg_start = itv->enc_mem; | 713 | reg_start = itv->enc_mem; |
714 | else | 714 | else |
715 | return -EINVAL; | 715 | return -EINVAL; |