[media] nuvoton-cir: use IR_DEFAULT_TIMEOUT and consider SAMPLE_PERIOD
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:43:18 +0000 (14:43 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:45:39 +0000 (15:45 -0200)
commitf2c2ba0e251d0b5211ce0397081b087ac623136f
treeca8b4d3e5071d6d1905b59fb0c57d05515881a73
parente1a7d981cfefbf8e0261083a10ccad7dd0af6394
[media] nuvoton-cir: use IR_DEFAULT_TIMEOUT and consider SAMPLE_PERIOD

Switch to using the recently introduced IR default timeout value
(IR_DEFAULT_TIMEOUT) and consider the value of SAMPLE_PERIOD
when calculating the limit count register value.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/nuvoton-cir.h