From patchwork Mon Sep 6 21:26:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 159351 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o86LQW8J030839 for ; Mon, 6 Sep 2010 21:26:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755675Ab0IFV03 (ORCPT ); Mon, 6 Sep 2010 17:26:29 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:57693 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755646Ab0IFV02 (ORCPT ); Mon, 6 Sep 2010 17:26:28 -0400 Received: by mail-fx0-f46.google.com with SMTP id 13so2662937fxm.19 for ; Mon, 06 Sep 2010 14:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=wkXoylvDHWBbTHT1VrSzuK7vP6nmbFyikcn5zSDXpSQ=; b=NkZ0OdCNcsKjZ7oyGUk7NXUhuKL8FGMlgp7ss08UboRbyPYbOwSFEj40WmCp3PNSjR b7/viHiR928f8abzjPtTMC8IsKsDmrmwso0za7BiupIq67jdjSoapYXd0fTKOx0N5vaK EpmeQfF4EdQgI3XMze7ZSrm2tJt5VEi3eIMG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Rve7Q3Z1QcpvA1k1Hbx/Xo06cz6HUKKel+R15kUwiXNK7hoagauZZAQPDHTVHpxSPs 8wf7aGMWn9eXOE0ZGn9Ck1Da0i68GxU5Z0J2oexc66YVaekg5KKqdNfzu01hivdXwNL6 iJqREcxf+vDcWZr7WNgNUdQqBoWeIob9gGs00= Received: by 10.223.126.19 with SMTP id a19mr3290219fas.88.1283808387283; Mon, 06 Sep 2010 14:26:27 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-228-233-189.inter.net.il [84.228.233.189]) by mx.google.com with ESMTPS id k15sm2504881fai.16.2010.09.06.14.26.25 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 14:26:26 -0700 (PDT) From: Maxim Levitsky To: lirc-list@lists.sourceforge.net Cc: Jarod Wilson , =?UTF-8?q?David=20H=C3=A4rdeman?= , mchehab@infradead.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, Maxim Levitsky Subject: [PATCH 3/8] IR: fix duty cycle capability Date: Tue, 7 Sep 2010 00:26:08 +0300 Message-Id: <1283808373-27876-4-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1283808373-27876-1-git-send-email-maximlevitsky@gmail.com> References: <1283808373-27876-1-git-send-email-maximlevitsky@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 06 Sep 2010 21:26:33 +0000 (UTC) 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)