[media] rc: img-ir: pass toggle bit to the rc driver
authorSifan Naeem <sifan.naeem@imgtec.com>
Thu, 11 Dec 2014 20:06:23 +0000 (17:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 17:12:57 +0000 (15:12 -0200)
commit33e01833268d2f006e599b863a21d4e219f96bd7
tree28c47f3ec8522ecff1867c25007ebae8e3c6e4df
parentab93ce06eef556cc85a016e12ff7c7a763f04c91
[media] rc: img-ir: pass toggle bit to the rc driver

Add toggle bit to struct img_ir_scancode_req so that protocols can
provide it to img_ir_handle_data(), and pass that toggle bit up to
rc_keydown instead of 0.

This is needed for the upcoming rc-5 and rc-6 patches.

Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/img-ir/img-ir-hw.c
drivers/media/rc/img-ir/img-ir-hw.h