Skip to content

Commit b820c2c

Browse files
seanyoungmchehab
authored andcommitted
media: iguanair: no need for reset after IR receiver enable
An IR reset is only used when the IR hardware reports an error. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 74747dd commit b820c2c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎drivers/media/rc/iguanair.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ static int iguanair_receiver(struct iguanair *ir, bool enable)
262262
ir->packet->header.direction = DIR_OUT;
263263
ir->packet->header.cmd = enable ? CMD_RECEIVER_ON : CMD_RECEIVER_OFF;
264264

265-
if (enable)
266-
ir_raw_event_reset(ir->rc);
267-
268265
return iguanair_send(ir, sizeof(ir->packet->header));
269266
}
270267

0 commit comments

Comments
 (0)