From patchwork Sat Jul 31 14:59:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 116196 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6VG7kTX027084 for ; Sat, 31 Jul 2010 16:07:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756161Ab0GaO7y (ORCPT ); Sat, 31 Jul 2010 10:59:54 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:55010 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756098Ab0GaO7q (ORCPT ); Sat, 31 Jul 2010 10:59:46 -0400 Received: by mail-bw0-f46.google.com with SMTP id 1so870874bwz.19 for ; Sat, 31 Jul 2010 07:59:45 -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=zWjB0kwKEPaV8oTc6Rz39ijcGHM7elwa8f1OoYViYmg=; b=HoVCmxk8KJOztPLIY27ymJy4GtIfVj+MW0Z3HtYQQsv3nNYnlUJ18AnKhPGux9r7AY OmHn24LDneJ9QrTlQT6H0uUKe1bLumfPmugkUrxatq41OukhETDPJKAvWmSI4h+0ec1o SuxUMMfv6t8x3rt/bQpoAKQ1ZcoHwc8xHanZ0= 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=GWHnCH+x4FEl+yRPP7VrjLpI6jHxIFqFRNo0GeDZRvUEdYbk7+IiEwVY/qlaTadkbs b6vRwRZrElK4+GMPpeOITaFNVmYh8qfLGwUOwcPJu8sVxQxpI2Jd0IfsRIbLWA27lI/U k/CvtXlT64AKnx2SemP8ONtDSReK1RrCtWUtE= Received: by 10.204.73.211 with SMTP id r19mr2235851bkj.131.1280588385452; Sat, 31 Jul 2010 07:59:45 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-228-252-15.inter.net.il [84.228.252.15]) by mx.google.com with ESMTPS id a9sm2445428bky.23.2010.07.31.07.59.43 (version=SSLv3 cipher=RC4-MD5); Sat, 31 Jul 2010 07:59:44 -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 06/13] IR: nec decoder: fix repeat. Date: Sat, 31 Jul 2010 17:59:19 +0300 Message-Id: <1280588366-26101-7-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1280588366-26101-1-git-send-email-maximlevitsky@gmail.com> References: <1280588366-26101-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 (demeter.kernel.org [140.211.167.41]); Sat, 31 Jul 2010 16:07:48 +0000 (UTC) diff --git a/drivers/media/IR/ir-nec-decoder.c b/drivers/media/IR/ir-nec-decoder.c index 52e0f37..1c0cf03 100644 --- a/drivers/media/IR/ir-nec-decoder.c +++ b/drivers/media/IR/ir-nec-decoder.c @@ -20,7 +20,7 @@ #define NEC_HEADER_PULSE (16 * NEC_UNIT) #define NECX_HEADER_PULSE (8 * NEC_UNIT) /* Less common NEC variant */ #define NEC_HEADER_SPACE (8 * NEC_UNIT) -#define NEC_REPEAT_SPACE (8 * NEC_UNIT) +#define NEC_REPEAT_SPACE (4 * NEC_UNIT) #define NEC_BIT_PULSE (1 * NEC_UNIT) #define NEC_BIT_0_SPACE (1 * NEC_UNIT) #define NEC_BIT_1_SPACE (3 * NEC_UNIT)