aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25840/cx25840-ir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-ir.c')
-rw-r--r--drivers/media/video/cx25840/cx25840-ir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx25840/cx25840-ir.c b/drivers/media/video/cx25840/cx25840-ir.c
index c2b4c14dc9ab..97a4e9b25fe4 100644
--- a/drivers/media/video/cx25840/cx25840-ir.c
+++ b/drivers/media/video/cx25840/cx25840-ir.c
@@ -706,6 +706,7 @@ static int cx25840_ir_rx_read(struct v4l2_subdev *sd, u8 *buf, size_t count,
706 if (v > IR_MAX_DURATION) 706 if (v > IR_MAX_DURATION)
707 v = IR_MAX_DURATION; 707 v = IR_MAX_DURATION;
708 708
709 init_ir_raw_event(&p->ir_core_data);
709 p->ir_core_data.pulse = u; 710 p->ir_core_data.pulse = u;
710 p->ir_core_data.duration = v; 711 p->ir_core_data.duration = v;
711 712