From patchwork Wed Jan 13 22:15:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pete Eberlein X-Patchwork-Id: 72732 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 o0DNG7OQ023278 for ; Wed, 13 Jan 2010 23:16:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751651Ab0AMXQG (ORCPT ); Wed, 13 Jan 2010 18:16:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752613Ab0AMXQF (ORCPT ); Wed, 13 Jan 2010 18:16:05 -0500 Received: from gateway01.websitewelcome.com ([69.56.170.19]:50336 "HELO gateway01.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750895Ab0AMXQF (ORCPT ); Wed, 13 Jan 2010 18:16:05 -0500 X-Greylist: delayed 84565 seconds by postgrey-1.27 at vger.kernel.org; Wed, 13 Jan 2010 18:16:04 EST Received: (qmail 19815 invoked from network); 13 Jan 2010 22:30:26 -0000 Received: from gator886.hostgator.com (174.120.40.226) by gateway01.websitewelcome.com with SMTP; 13 Jan 2010 22:30:26 -0000 Received: from [66.15.212.169] (port=13613 helo=[10.140.5.12]) by gator886.hostgator.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NVBVM-0002J6-K5 for linux-media@vger.kernel.org; Wed, 13 Jan 2010 16:15:56 -0600 Subject: [PATCH] s2250: Fix write_reg i2c address From: Pete Eberlein To: "linux-media@vger.kernel.org" Date: Wed, 13 Jan 2010 14:15:48 -0800 Message-Id: <1263420948.4697.313.camel@pete-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator886.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sensoray.com Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r 3a4be7d7dabd -r 134a95c0d98b linux/drivers/staging/go7007/s2250-board.c --- a/linux/drivers/staging/go7007/s2250-board.c Sun Jan 03 17:04:42 2010 +0000 +++ b/linux/drivers/staging/go7007/s2250-board.c Wed Jan 13 14:11:48 2010 -0800 @@ -159,7 +159,7 @@ struct go7007 *go = i2c_get_adapdata(client->adapter); struct go7007_usb *usb; int rc; - int dev_addr = client->addr; + int dev_addr = client->addr << 1; /* firmware wants 8-bit address */ u8 *buf; if (go == NULL)