[media] ir: Fix IR_MAX_DURATION enforcement
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 13:25:24 +0000 (10:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 14:26:42 +0000 (11:26 -0300)
commit95cf60aa55d5395a10d0e67a711e42693b89fb1c
tree3fd6865ee72ef57c900af716d9490a9486f1eedd
parent485bdbb6b83309505654379153d55746d5996917
[media] ir: Fix IR_MAX_DURATION enforcement

Don't assume that IR_MAX_DURATION is a bitmask. It isn't.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/redrat3.c
drivers/media/rc/streamzap.c