summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-09-06 18:26:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-09-27 22:21:54 -0300
commit67332ba83242f814490884161fee8676a9fd8a09 (patch)
treee42afcd03c06ae75e2ec05314e134675370a9ccc /drivers/media/IR
parent04cab131ce2a267b6777a98d68fbc0cae44d4ba8 (diff)
downloadop-kernel-dev-67332ba83242f814490884161fee8676a9fd8a09.zip
op-kernel-dev-67332ba83242f814490884161fee8676a9fd8a09.tar.gz
V4L/DVB: IR: fix duty cycle capability
Due to typo lirc bridge enabled wrong capability. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR')
-rw-r--r--drivers/media/IR/ir-lirc-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/ir-lirc-codec.c b/drivers/media/IR/ir-lirc-codec.c
index 77b5946..e63f757 100644
--- a/drivers/media/IR/ir-lirc-codec.c
+++ b/drivers/media/IR/ir-lirc-codec.c
@@ -267,7 +267,7 @@ static int ir_lirc_register(struct input_dev *input_dev)
features |= LIRC_CAN_SET_SEND_CARRIER;
if (ir_dev->props->s_tx_duty_cycle)
- features |= LIRC_CAN_SET_REC_DUTY_CYCLE;
+ features |= LIRC_CAN_SET_SEND_DUTY_CYCLE;
}
if (ir_dev->props->s_rx_carrier_range)
OpenPOWER on IntegriCloud