From patchwork Sat Jun 6 07:44:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6558941 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 77D82C0020 for ; Sat, 6 Jun 2015 07:45:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98B1F2066A for ; Sat, 6 Jun 2015 07:45:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B05AC2062C for ; Sat, 6 Jun 2015 07:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751302AbbFFHpL (ORCPT ); Sat, 6 Jun 2015 03:45:11 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:34251 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750901AbbFFHpK (ORCPT ); Sat, 6 Jun 2015 03:45:10 -0400 Received: by lbcmx3 with SMTP id mx3so57330471lbc.1 for ; Sat, 06 Jun 2015 00:45:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=IWFtH42SUZ0LguKa39jXcWv5IrZdrw0i/d+250nTfno=; b=E0MUhEWcjNYlpHlHezUeHeVnUObU2lgMDHR2z8Q2Nul+XSCDjqRjXe6+Zmn8qhN8lU EBUo73vxvdJDVi83znYEJxLiNUNwGORUY+XLRAv1aaIiW9dI/ErSp0sC8io3WNn2lVW8 HYAMx9uoH93vzTExwGP7RkLJxb0JjuZ5zPKUdPnrcsPHkXEcsHBroBNMus3bby2HnERs k7EYQ+WbvCrJNbhd53Z0Yce8JhAOQxLCXGJWwEl0TY912YF2x/UGAOeixQqNvEEQiXBp gofrXoe2EgY2MauL/F//SIb7SQ0fqsScTpcEPqFAonLTqifEp/OM+xBa4C0ShipztpAR hM3w== X-Gm-Message-State: ALoCoQlghGaLVfqB5+fFGRqZRl0ogyDmLYQOuWB9zk56xCqAr4jBcVH/lMbqfwKiUvksP25ysiDG X-Received: by 10.112.137.1 with SMTP id qe1mr6777040lbb.22.1433576708545; Sat, 06 Jun 2015 00:45:08 -0700 (PDT) Received: from dl160.lan (188-67-112-174.bb.dnainternet.fi. [188.67.112.174]) by mx.google.com with ESMTPSA id ca8sm2352502lad.46.2015.06.06.00.45.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 Jun 2015 00:45:07 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 1/2] saa7164: change Si2168 reglen to 0 bit Date: Sat, 6 Jun 2015 10:44:57 +0300 Message-Id: <1433576698-1780-1-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The i2c_reg_len for Si2168 should be 0 for correct I2C communication. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Tested-By: Steven Toth --- drivers/media/pci/saa7164/saa7164-cards.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-cards.c b/drivers/media/pci/saa7164/saa7164-cards.c index 8a6455d..c2b7382 100644 --- a/drivers/media/pci/saa7164/saa7164-cards.c +++ b/drivers/media/pci/saa7164/saa7164-cards.c @@ -621,7 +621,7 @@ struct saa7164_board saa7164_boards[] = { .name = "SI2168-1", .i2c_bus_nr = SAA7164_I2C_BUS_2, .i2c_bus_addr = 0xc8 >> 1, - .i2c_reg_len = REGLEN_8bit, + .i2c_reg_len = REGLEN_0bit, }, { .id = 0x25, .type = SAA7164_UNIT_TUNER, @@ -635,7 +635,7 @@ struct saa7164_board saa7164_boards[] = { .name = "SI2168-2", .i2c_bus_nr = SAA7164_I2C_BUS_2, .i2c_bus_addr = 0xcc >> 1, - .i2c_reg_len = REGLEN_8bit, + .i2c_reg_len = REGLEN_0bit, } }, }, };