Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330800
b: refs/heads/master
c: 116e4f5
h: refs/heads/master
v: v3
  • Loading branch information
Sean Young authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent fdbfe98 commit 59283a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 884bfd08e3d4f694574e54bd1886cd8817d9b986
refs/heads/master: 116e4f592a4d207031b2eaf9dacb57de587146ef
4 changes: 4 additions & 0 deletions trunk/drivers/media/rc/iguanair.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ static void process_ir_data(struct iguanair *ir, unsigned len)
break;
case CMD_RX_OVERFLOW:
dev_warn(ir->dev, "receive overflow\n");
ir_raw_event_reset(ir->rc);
break;
default:
dev_warn(ir->dev, "control code %02x received\n",
Expand Down Expand Up @@ -255,6 +256,9 @@ static int iguanair_receiver(struct iguanair *ir, bool enable)
struct packet packet = { 0, DIR_OUT, enable ?
CMD_RECEIVER_ON : CMD_RECEIVER_OFF };

if (enable)
ir_raw_event_reset(ir->rc);

return iguanair_send(ir, &packet, sizeof(packet));
}

Expand Down

0 comments on commit 59283a7

Please sign in to comment.