Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219335
b: refs/heads/master
c: b784cfc
h: refs/heads/master
i:
  219333: 9a01166
  219331: 1280a41
  219327: dd874bc
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent cc72231 commit f0bbe87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b768d47eb6e467b198351c0344e2e3e49c45c476
refs/heads/master: b784cfcec7293f688b09d3850826216a4e134d2e
4 changes: 2 additions & 2 deletions trunk/drivers/media/IR/streamzap.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ static void streamzap_callback(struct urb *urb)
struct streamzap_ir *sz;
unsigned int i;
int len;
static int timeout = (((SZ_TIMEOUT * SZ_RESOLUTION) &
static int timeout = (((SZ_TIMEOUT * SZ_RESOLUTION * 1000) &
IR_MAX_DURATION) | 0x03000000);

if (!urb)
Expand Down Expand Up @@ -273,7 +273,7 @@ static void streamzap_callback(struct urb *urb)
struct ir_raw_event rawir;

rawir.pulse = false;
rawir.duration = timeout * 1000;
rawir.duration = timeout;
sz->idle = true;
if (sz->timeout_enabled)
sz_push(sz, rawir);
Expand Down

0 comments on commit f0bbe87

Please sign in to comment.