[PATCH 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

Sean Young sean at mess.org
Mon Jan 9 04:39:42 PST 2017


On Mon, Jan 09, 2017 at 11:13:21AM +0800, Sean Wang wrote:
> I had another question. I found multiple and same IR messages being
> received when using SONY remote controller. Should driver needs to
> report each message or only one of these to the upper layer ?

In general the driver shouldn't try to change any IR message, this should
be done in rc-core if necessary.

rc-core should handle this correctly. If the same key is received twice
within IR_KEYPRESS_TIMEOUT (250ms) then it not reported to the input
layer.

Thanks
Sean



More information about the Linux-mediatek mailing list