From patchwork Fri Apr 2 16:52:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 90395 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o32GsMK7009116 for ; Fri, 2 Apr 2010 16:55:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755299Ab0DBQyN (ORCPT ); Fri, 2 Apr 2010 12:54:13 -0400 Received: from mail-in-07.arcor-online.net ([151.189.21.47]:50987 "EHLO mail-in-07.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754894Ab0DBQyG (ORCPT ); Fri, 2 Apr 2010 12:54:06 -0400 Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 4B9B63CA388; Fri, 2 Apr 2010 18:54:05 +0200 (CEST) Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id 3F2472DB63D; Fri, 2 Apr 2010 18:54:05 +0200 (CEST) Received: from localhost.localdomain (dslb-188-103-199-168.pools.arcor-ip.net [188.103.199.168]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-11.arcor-online.net (Postfix) with ESMTPA id 9E622E3C7B; Fri, 2 Apr 2010 18:54:04 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-11.arcor-online.net 9E622E3C7B DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1270227245; bh=02I379HN+EPeHJt7PmLJMrrU/2TDSTJWNx31Ib5DyVY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=ucnkNriFyIxyvSC38iAxtwCYDhHtA8RCpERxKlQ4TEjQ3YgAkEgLKyJhqzigj6LvW EXJxf3GT8K0tNKHOkmqQiZE63Lt0stj9lK9ckR64CowKIUdzkBdzs/W0FKOYbiC3DS N4nozmQUhcdcPBVeuF0zpQI7TtXgBwVVtcA+8cEs= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, dheitmueller@kernellabs.com, Stefan Ringel Subject: [PATCH 2/2] tm6000: tm6000_i2c_xfer: request labeling Date: Fri, 2 Apr 2010 18:52:50 +0200 Message-Id: <1270227170-4879-2-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1270227170-4879-1-git-send-email-stefan.ringel@arcor.de> References: <1270227170-4879-1-git-send-email-stefan.ringel@arcor.de> 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 (demeter.kernel.org [140.211.167.41]); Fri, 02 Apr 2010 16:55:20 +0000 (UTC) diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c index ec4c938..2ab632b 100644 --- a/drivers/staging/tm6000/tm6000-i2c.c +++ b/drivers/staging/tm6000/tm6000-i2c.c @@ -135,8 +135,8 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, i++; if (addr == dev->tuner_addr << 1) { - tm6000_set_reg(dev, 0x32, 0,0); - tm6000_set_reg(dev, 0x33, 0,0); + tm6000_set_reg(dev, REQ_50_SET_START, 0, 0); + tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0); } if (i2c_debug >= 2) for (byte = 0; byte < msgs[i].len; byte++) @@ -150,8 +150,8 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, msgs[i].buf + 1, msgs[i].len - 1); if (addr == dev->tuner_addr << 1) { - tm6000_set_reg(dev, 0x32, 0,0); - tm6000_set_reg(dev, 0x33, 0,0); + tm6000_set_reg(dev, REQ_50_SET_START, 0, 0); + tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0); } } if (i2c_debug >= 2)