From patchwork Tue May 5 16:54:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6339891 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 C102FBEEE1 for ; Tue, 5 May 2015 16:54:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 516FD20263 for ; Tue, 5 May 2015 16:54:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 709E1201F2 for ; Tue, 5 May 2015 16:54:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754275AbbEEQyl (ORCPT ); Tue, 5 May 2015 12:54:41 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:34743 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761087AbbEEQyj (ORCPT ); Tue, 5 May 2015 12:54:39 -0400 Received: by lbcga7 with SMTP id ga7so133647160lbc.1 for ; Tue, 05 May 2015 09:54:38 -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=Jv+nAZ5B8d+n9nwpkvDl+uixE2arWs2u4iQGQb7Hj3HzFdLSbil4NGswO5K+MtGgVo ClkLCEms5jLqILqxkmGWuaX3FxTdCpvgArJY4ukEwPlgFw28x2TJa1dD4F3feK7JRyjz pPmJOCuZqsPYTh+XgoeTgtI4VyIDZEs0RqDSXtJWWv5BD+1Vs2dCIb2b3sN32nhnmKx1 jwnUFvWlWDcJuE0iQB/iNeEeCC7ik/xecdegQLxWx+YWB9YVi1jrfNQC8k1sj7pvDGOm vJlL9X11+lnQLZ/b34Rh7LGDw97NOMlYBDr4grk+1l42pYL6/IhLQ07nOk9xldpBGRMA to8Q== X-Gm-Message-State: ALoCoQlhbXCHUHs72Wzgk5O9iqCUBAogu2NjKdu20i7xrZCaFTO1P5CNHe5Vf9dBmTLnZ0CsE/gw X-Received: by 10.152.2.227 with SMTP id 3mr24624633lax.73.1430844878072; Tue, 05 May 2015 09:54:38 -0700 (PDT) Received: from dl160.lan (188-67-118-178.bb.dnainternet.fi. [188.67.118.178]) by mx.google.com with ESMTPSA id z1sm4177919laz.48.2015.05.05.09.54.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 May 2015 09:54:37 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH v4 2/6] dvbsky: use si2168 config option ts_clock_gapped Date: Tue, 5 May 2015 19:54:15 +0300 Message-Id: <1430844859-24947-3-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430844859-24947-1-git-send-email-olli.salonen@iki.fi> References: <1430844859-24947-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;