Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219538
b: refs/heads/master
c: dc69798
h: refs/heads/master
v: v3
  • Loading branch information
Maxim Levitsky authored and Mauro Carvalho Chehab committed Oct 25, 2010
1 parent 32d2bd5 commit 60e2bdf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 910f5f05f99c1ffbb484c4e6eb2a460e7a08e2d7
refs/heads/master: dc69798447173a6b711fe36b714892dd2e880297
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/siano/smsir.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void sms_ir_event(struct smscore_device_t *coredev, const char *buf, int len)
const s32 *samples = (const void *)buf;

for (i = 0; i < len >> 2; i++) {
struct ir_raw_event ev;
DEFINE_IR_RAW_EVENT(ev);

ev.duration = abs(samples[i]) * 1000; /* Convert to ns */
ev.pulse = (samples[i] > 0) ? false : true;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/video/cx23885/cx23888-ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ static int cx23888_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;

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/video/cx25840/cx25840-ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 60e2bdf

Please sign in to comment.