diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-10-25 06:05:29 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-26 00:54:28 +0400 |
commit | dc69798447173a6b711fe36b714892dd2e880297 (patch) | |
tree | c9b16c9dd97b95075800ce6d5fa187d58a5671ff /drivers/media/video/cx25840/cx25840-ir.c | |
parent | 910f5f05f99c1ffbb484c4e6eb2a460e7a08e2d7 (diff) | |
download | linux-dc69798447173a6b711fe36b714892dd2e880297.tar.xz |
[media] IR: initialize ir_raw_event in few more drivers
Few drivers still have assumption that ir_raw_event
consists of duration and pulse flag.
Fix that.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-ir.c')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-ir.c | 1 |
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, if (v > IR_MAX_DURATION) v = IR_MAX_DURATION; + init_ir_raw_event(&p->ir_core_data); p->ir_core_data.pulse = u; p->ir_core_data.duration = v; |