media: mtk-cir: remove superfluous ir_raw_event_reset()
authorSean Young <sean@mess.org>
Thu, 13 Jan 2022 20:53:51 +0000 (21:53 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 24 Jan 2022 00:38:32 +0000 (01:38 +0100)
commit6a554bb5653f9844c2ee179d91a757b28ec36a99
tree0571d0630ec0bc57e49b461a08b9bef82de6b62d
parent1ad09bbf8458298f224eea04e44507bccbe8b229
media: mtk-cir: remove superfluous ir_raw_event_reset()

This IR receiver has two limitations:

1) Any IR pulse or space longer than 12ms will be truncated to 12ms

2) Any pulses/spaces after the first 68 are lost

ir_raw_event_reset() won't help here. If the IR cannot be decoded, any
decoder should reset itself, and if it does not, this is a bug in the
decoder.

Cc: Sean Wang <sean.wang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/rc/mtk-cir.c