From patchwork Mon Dec 28 17:48:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 70023 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBSHnKtk007016 for ; Mon, 28 Dec 2009 17:49:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbZL1RtI (ORCPT ); Mon, 28 Dec 2009 12:49:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751031AbZL1RtH (ORCPT ); Mon, 28 Dec 2009 12:49:07 -0500 Received: from mail-fx0-f225.google.com ([209.85.220.225]:49931 "EHLO mail-fx0-f225.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751298AbZL1RtG (ORCPT ); Mon, 28 Dec 2009 12:49:06 -0500 Received: by fxm25 with SMTP id 25so4728295fxm.21 for ; Mon, 28 Dec 2009 09:49:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=K4u5dTeYEqZ5e56LxKidZH/zUmLRbroxuIvxV69LuEE=; b=OqG8H4yUu9i0C1/0czhs4YdyURFoeWXX6MXW7j5oMvNH/J74mREtFx3D7QZVFgXEoS L4Bz+xT+abUuQ/vTOq3zSDbY/RywgVYkWZFZOz+j+zDTHkwtbrAqzGfpJldxoGio3Erg WDzEaMgKrSV/0iYvOQ1XU29C7vmrEM/jGwrx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=r/Z9v7oeCQ/sFbU/lCVVmgUdA6pF9Kst5Kv5Odah29FjrNInuqpFRdM9L7v1dHtAxb 8RK/uK+79t2SYhFWtx6WzoKSQGPksW0phDbqZaK3F88zinXLGzcYlOIwPd6mbR1EuyDA vFkqpjGmUf15qtHi9C1A79rozIK7yigNjBkzQ= Received: by 10.223.81.76 with SMTP id w12mr21388408fak.1.1262022545567; Mon, 28 Dec 2009 09:49:05 -0800 (PST) Received: from bicker ([196.216.13.156]) by mx.google.com with ESMTPS id 28sm17531105fkx.28.2009.12.28.09.48.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Dec 2009 09:49:04 -0800 (PST) Date: Mon, 28 Dec 2009 19:48:49 +0200 From: Dan Carpenter To: Matthias Schwarzott Cc: linux-media@vger.kernel.org, Matthias Schwarzott , Mauro Carvalho Chehab Subject: [patch] fix weird array index in zl10036.c Message-ID: <20091228174849.GG17645@bicker> References: <20091227131529.GJ6075@bicker> <200912271802.46083.zzam@gentoo.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <200912271802.46083.zzam@gentoo.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org --- orig/drivers/media/dvb/frontends/zl10036.c 2009-12-28 19:04:51.000000000 +0200 +++ devel/drivers/media/dvb/frontends/zl10036.c 2009-12-28 19:07:18.000000000 +0200 @@ -411,7 +411,7 @@ static int zl10036_init_regs(struct zl10 state->bf = 0xff; if (!state->config->rf_loop_enable) - zl10036_init_tab[1][2] |= 0x01; + zl10036_init_tab[1][0] |= 0x01; deb_info("%s\n", __func__);