diff mbox

[3/7] IR: fix duty cycle capability

Message ID 1283158348-7429-4-git-send-email-maximlevitsky@gmail.com (mailing list archive)
State Accepted
Commit 67332ba83242f814490884161fee8676a9fd8a09
Headers show

Commit Message

Maxim Levitsky Aug. 30, 2010, 8:52 a.m. UTC
None
diff mbox

Patch

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)