]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] lirc_dev: use LIRC_CAN_REC() define to check if the device can receive
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 6 Jul 2016 09:01:27 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 18:29:03 +0000 (15:29 -0300)
commit273b902a5b1bfd6977a73c4de3eb96db3cb103cb
tree7d15ef7d71169c3f1867bbce000a759e7b208a96
parent8e5fa4c67d6387d40e2ae350e96fca939ba5e681
[media] lirc_dev: use LIRC_CAN_REC() define to check if the device can receive

The LIRC_CAN_REC() returns a boolean "flag & LIRC_CAN_REC_MASK"
to check whether the device can receive data.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c