From patchwork Thu Apr 23 21:11:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265251 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 EB272BF4A6 for ; Thu, 23 Apr 2015 21:11:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 273E2201C8 for ; Thu, 23 Apr 2015 21:11:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4215202F2 for ; Thu, 23 Apr 2015 21:11:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031263AbbDWVLf (ORCPT ); Thu, 23 Apr 2015 17:11:35 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:36374 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031035AbbDWVLb (ORCPT ); Thu, 23 Apr 2015 17:11:31 -0400 Received: by lagv1 with SMTP id v1so21949428lag.3 for ; Thu, 23 Apr 2015 14:11:30 -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 :in-reply-to:references; bh=XNK1F6JLW4gr/Zf2lWD1e/TR+esb2hkYFLYZ9JxsTDw=; b=EUqvEM85x7r9vhPVvbigAZRV8f/nXdoMHPKrzgDCQ/5SJGLQbhNYkYgRSzurrPnF4a hOR9+6j9wcwxQh5gw1kAl8vt9SmYv1cEfysPkiCYR/B4ggKqV5KYbTEuYKMAWeTBM9UK cHjgg4q2R8c5GGNnCshSfE57AwMVV66elFDRhpPTTxj2nfW0UvorMz5H3kibnTcG0Djr OCmfsE/usdqoYX+TnyD9lGbIA2MYlKarFrrT6wIxeQu8yJa0KiC6wImywtxX1Us+K8/t +zyq6LgHpHJ0B/GcNO87mWIIMBn/Vmkm+J+C1QmZ8M1w9NewycfsfgXm2apbJnRziG2M v4pg== X-Gm-Message-State: ALoCoQnpLc/oZXxpS/3Dtjs40pn5w5g3u1poFtVAcMTBq/77KKjryidJVb6wmipFmNCyZuSZ1P+l X-Received: by 10.112.159.162 with SMTP id xd2mr4103250lbb.67.1429823490252; Thu, 23 Apr 2015 14:11:30 -0700 (PDT) Received: from dl160.lan (188-67-88-189.bb.dnainternet.fi. [188.67.88.189]) by mx.google.com with ESMTPSA id i3sm2121712lbs.21.2015.04.23.14.11.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:29 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped Date: Fri, 24 Apr 2015 00:11:01 +0300 Message-Id: <1429823471-21835-2-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429823471-21835-1-git-send-email-olli.salonen@iki.fi> References: <1429823471-21835-1-git-send-email-olli.salonen@iki.fi> 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 Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index cdf59bc..0f73b1d 100644 --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c +++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c @@ -615,7 +615,8 @@ static int dvbsky_t330_attach(struct dvb_usb_adapter *adap) memset(&si2168_config, 0, sizeof(si2168_config)); si2168_config.i2c_adapter = &i2c_adapter; si2168_config.fe = &adap->fe[0]; - si2168_config.ts_mode = SI2168_TS_PARALLEL | 0x40; + si2168_config.ts_mode = SI2168_TS_PARALLEL; + si2168_config.ts_clock_gapped = true; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2168", I2C_NAME_SIZE); info.addr = 0x64;