From patchwork Mon Aug 30 08:52:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 141341 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 o7U8qiLU021849 for ; Mon, 30 Aug 2010 08:53:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754812Ab0H3Iw4 (ORCPT ); Mon, 30 Aug 2010 04:52:56 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:50033 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754799Ab0H3Iwz (ORCPT ); Mon, 30 Aug 2010 04:52:55 -0400 Received: by mail-bw0-f46.google.com with SMTP id 11so3528183bwz.19 for ; Mon, 30 Aug 2010 01:52: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=TNN8nuOqYyZAmUkZXPNRpyS5gvkluYs6QEPoSCwptwA6L/eIpKFmUHA9yn6VZpm526 DoDcXKMVogI/lCz5DnA/xyq+qcBCulscmfLCLX/X0ObRK6OwF+zfsVPXv4QXaB1lS14z mF1bmJzSg7o6uGU9gmE8XgJZGrdBDi3vLnfXM= 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=h5XZcjrQ1O+q90qOcdwhesGQMrwaPp92Qx81fDXUgDYQdIkoFA0bi0q+sbUdORuKXl m4Iu7n8/Za//Sstvc8dr6R8ToMreqyZ8UV9rBZXaYs4tvhYl6ioIiNbPf/X4RHPf6oym WHN8cAJSHUJ7KELxjHH+PAZ4ETp46V0uJie50= Received: by 10.204.55.211 with SMTP id v19mr2831156bkg.153.1283158370709; Mon, 30 Aug 2010 01:52:50 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-228-220-57.inter.net.il [84.228.220.57]) by mx.google.com with ESMTPS id d27sm5012102bku.22.2010.08.30.01.52.44 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 01:52:49 -0700 (PDT) From: Maxim Levitsky To: lirc-list@lists.sourceforge.net Cc: Jarod Wilson , linux-input@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab , Christoph Bartelmus , Maxim Levitsky Subject: [PATCH 3/7] IR: fix duty cycle capability Date: Mon, 30 Aug 2010 11:52:23 +0300 Message-Id: <1283158348-7429-4-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1283158348-7429-1-git-send-email-maximlevitsky@gmail.com> References: <1283158348-7429-1-git-send-email-maximlevitsky@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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, 30 Aug 2010 08:53:23 +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)