projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74747dd
)
media: iguanair: no need for reset after IR receiver enable
author
Sean Young
<sean@mess.org>
Sat, 27 Nov 2021 13:53:49 +0000
(14:53 +0100)
committer
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Tue, 14 Dec 2021 14:09:12 +0000
(15:09 +0100)
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>
drivers/media/rc/iguanair.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/rc/iguanair.c
b/drivers/media/rc/iguanair.c
index 84949baf9f6b3c2d51555b9e7cc2bc69ecc33290..f8d080e41f4c1fd0e73123e90184aed54339097c 100644
(file)
--- a/
drivers/media/rc/iguanair.c
+++ b/
drivers/media/rc/iguanair.c
@@
-262,9
+262,6
@@
static int iguanair_receiver(struct iguanair *ir, bool enable)
ir->packet->header.direction = DIR_OUT;
ir->packet->header.cmd = enable ? CMD_RECEIVER_ON : CMD_RECEIVER_OFF;
- if (enable)
- ir_raw_event_reset(ir->rc);
-
return iguanair_send(ir, sizeof(ir->packet->header));
}