media: rc: Add auto-correct for nec decoder
authorDaniel Fu <danifu@nvidia.com>
Wed, 4 Feb 2015 15:53:10 +0000 (15:53 +0000)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 15 Oct 2015 14:31:40 +0000 (07:31 -0700)
commit943445b6fdaef02e141cc644b74eff0abba83e59
tree7e704436b4e4e35f4cddb0d471597275eefafb7b
parentb227d9dd4d2a2a4548c413b5cd500cb0fe32e14f
media: rc: Add auto-correct for nec decoder

- Add auto-correct for the Missing 1 pulse/space caes when IRQ is off.
  Only could handle when IRQ off duration < 1125us.
- Set Key press timout to be 125ms

Bug 1601127

Change-Id: I4488d84f07a46a00bb4489bea9cb795705bc9c99
Signed-off-by: Daniel Fu <danifu@nvidia.com>
(cherry picked from commit 585eb718ca36109c33b7f842a0a3a308c91baeb3)
Reviewed-on: http://git-master/r/816583
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
drivers/media/rc/ir-raw.c
drivers/media/rc/rc-main.c