[media] gpio-ir: do not allow a timeout of 0
authorSean Young <sean@mess.org>
Thu, 26 Jan 2017 16:37:33 +0000 (14:37 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 24 Mar 2017 11:21:48 +0000 (08:21 -0300)
commitee5310e66eab685fb42b3b585b00a92b67fb59d7
tree947eca1fe99b10993f275a2852fa7c4ce7e2c631
parentea80fb6d08a0015badc9a8b8ab7e95eeeaa578b1
[media] gpio-ir: do not allow a timeout of 0

According to the documentation, a timeout of 0 turns off timeouts,
which is not the case.

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