]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit52077fc286b071e0db0569e325d7a4fbf314e9fe
treeca8b4d3e5071d6d1905b59fb0c57d05515881a73
parenta7e909eb0c5e9cf5c3481728cfe0e948deee52fe
[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