From patchwork Sun Sep 5 22:22:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 157041 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 o85MMtwN008961 for ; Sun, 5 Sep 2010 22:22:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754323Ab0IEWW4 (ORCPT ); Sun, 5 Sep 2010 18:22:56 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:34156 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921Ab0IEWWz (ORCPT ); Sun, 5 Sep 2010 18:22:55 -0400 Received: by mail-fx0-f46.google.com with SMTP id 13so2219369fxm.19 for ; Sun, 05 Sep 2010 15:22:54 -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=PrXnoxzNLxchO598ZQHURMpn04YbsNNyuVTO99wJlaiuGyG/VIHalyzz9kDJQWmmtk VaWup4IxdkFR9kIjj9eRmJy9fETfVVAfcgjD/shEV/J1X2y/6nCjIr0qZVsBMZhj60w0 h8ODzTJbYnFsUm3XNiRVv3ZduKoMzWkopjaTA= 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=FZMUPdi+4DzO/ejgXaoLUHahVSSMGU3GSztw24X3JINzEGcSVabgi0Jo/oDDYmIeap 5HVYpE9GaMSUz/seGwO8OQrXD/qfSVwtab6MHXeHkFt83slglD8es+56JusmmUfdUC5V rAHiHZUc6l66rtvgg0cd5/7qawgsCINk6DVbs= Received: by 10.223.109.130 with SMTP id j2mr1963015fap.54.1283725374608; Sun, 05 Sep 2010 15:22:54 -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 u8sm2055880fah.36.2010.09.05.15.22.52 (version=SSLv3 cipher=RC4-MD5); Sun, 05 Sep 2010 15:22:53 -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, Maxim Levitsky Subject: [PATCH 3/8] IR: fix duty cycle capability Date: Mon, 6 Sep 2010 01:22:39 +0300 Message-Id: <1283725364-4053-4-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1283725364-4053-1-git-send-email-maximlevitsky@gmail.com> References: <1283725364-4053-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]); Sun, 05 Sep 2010 22:22:56 +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)