[media] lirc: LIRC_GET_MIN_TIMEOUT should be in range
authorSean Young <sean@mess.org>
Thu, 19 Jan 2017 21:44:00 +0000 (19:44 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:30:22 +0000 (07:30 -0200)
commitf348b4d323a67a5639ccbd3de5add5383573e4a5
treeb10568789831bc5e3caf9547001c48a8a895a6a6
parent8caebcdc53c9716ed6ae493aa6c0b1d3a67f0d5d
[media] lirc: LIRC_GET_MIN_TIMEOUT should be in range

LIRC_SET_REC_TIMEOUT can fail if the value returned by
LIRC_GET_MIN_TIMEOUT is set due to rounding errors.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-lirc-codec.c