From patchwork Sun May 3 12:53:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6320861 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D48699F374 for ; Sun, 3 May 2015 12:54:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D936203A1 for ; Sun, 3 May 2015 12:54:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 296D6203AF for ; Sun, 3 May 2015 12:54:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751451AbbECMyd (ORCPT ); Sun, 3 May 2015 08:54:33 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:34950 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbbECMyc (ORCPT ); Sun, 3 May 2015 08:54:32 -0400 Received: by labbd9 with SMTP id bd9so88906126lab.2 for ; Sun, 03 May 2015 05:54:31 -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=FBfquLSpThmldFzcvI7ctQ6Dr/cksPn/PnGfa68qVqlA/a5a2zA8CSK/CYS+m/djIz J46chFDubSB6gjsMYRS2WUANUnfQ4GF7eXAyELs8IUJJLI0xVA/HvVtQcBgf5uFj//HT Tjul4F9tmG9BCxI/nZFMj8yd/Eei/Bgqe32XreR1swaE72ImSGM23HYMTkTwfHkFVySB vDZTyQ3hqEj9CUGvwtJCBixhSJZPEAVGWexuzBBDY1LchpfAU/+gcV0lhQSpK+m+Smof rffLZdFUoDRuI/LLqGMFg+80relDQxKm+JT7fnvJdYlgXssG44ZA0sUHYkXe9It05Jib 7SGg== X-Gm-Message-State: ALoCoQl57KPestNUb+RaaTve+zkt6JXXFJgITup57EpLVYuXn9SZj6b8V1y7RfpSwrYKr1P5e1cn X-Received: by 10.112.180.201 with SMTP id dq9mr15999012lbc.78.1430657671133; Sun, 03 May 2015 05:54:31 -0700 (PDT) Received: from dl160.lan (188-67-118-178.bb.dnainternet.fi. [188.67.118.178]) by mx.google.com with ESMTPSA id s1sm2665369lae.46.2015.05.03.05.54.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 May 2015 05:54:30 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH v3 2/6] dvbsky: use si2168 config option ts_clock_gapped Date: Sun, 3 May 2015 15:53:59 +0300 Message-Id: <1430657643-17454-2-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430657643-17454-1-git-send-email-olli.salonen@iki.fi> References: <1430657643-17454-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=unavailable 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;