[media] lirc: fix transmit-only read features
authorSean Young <sean@mess.org>
Thu, 19 Jan 2017 21:27:17 +0000 (19:27 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:28:18 +0000 (07:28 -0200)
commitc9bbd5661fa85e086ee52aa5905b62d14ee8b7a3
tree43e702945478f50d96d6762dc7182b26f2a29547
parent126f6846cb184d21d2f86e50d0b6459e94cf9428
[media] lirc: fix transmit-only read features

An RC device which is transmit-only shouldn't have the
LIRC_CAN_REC_MODE2 feature.

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