From patchwork Fri Mar 27 11:57:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6106361 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 BA0B2BF90F for ; Fri, 27 Mar 2015 11:58:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D82C3203A1 for ; Fri, 27 Mar 2015 11:58:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0472420034 for ; Fri, 27 Mar 2015 11:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752768AbbC0L5l (ORCPT ); Fri, 27 Mar 2015 07:57:41 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:36086 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbbC0L5k (ORCPT ); Fri, 27 Mar 2015 07:57:40 -0400 Received: by lbbug6 with SMTP id ug6so61767572lbb.3 for ; Fri, 27 Mar 2015 04:57:39 -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=DwqGDfQRWXmhmiHeXltYkWKtkLwDqomZEpIy7U1rebg=; b=UmS19u1RrRY65ldNb7W/p3TkMEMn4SCe74jAgpfAH9ymdbaVv3CkZH/LTcl7KT4ZDt OJj21rKpGGlQ/rKpbrwHN5kXIBUFyPPk6djQwNRbIOhSWgFLWgKtDHRXmMizicH451kL TYZ0E9JdwOy5Htx/mk0jARGYSqqXrKQP39vwW3KoXnkJFPumjadq5NbSBGmalTSAmgVU IdqF0j3pNFiera1GDfZfi5SarGaPME+OZv7NT0uvMqaT91Fhsc6CPkG3tk1GVEkbfvKn 8icUKmNWRfJoYIYKtAgwbtovuh+WUr7uXdLn/oSkbkPin09Gyr4ZQ7Lyetez81kjdNGh PFcA== X-Gm-Message-State: ALoCoQmt/UFNh/3W+zluW24vdBbrzC0ExAzefT8dd37qudl4+4ckJCm68XwN+EB8zo7AIBammcyR X-Received: by 10.112.29.36 with SMTP id g4mr9226237lbh.56.1427457459082; Fri, 27 Mar 2015 04:57:39 -0700 (PDT) Received: from dl160.lan (37-33-50-203.bb.dnainternet.fi. [37.33.50.203]) by mx.google.com with ESMTPSA id y8sm300615lad.46.2015.03.27.04.57.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Mar 2015 04:57:38 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 4/5] dvbsky: use si2168 config option ts_clock_gapped Date: Fri, 27 Mar 2015 13:57:18 +0200 Message-Id: <1427457439-1493-4-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427457439-1493-1-git-send-email-olli.salonen@iki.fi> References: <1427457439-1493-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 9b5add4..a8495cd 100644 --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c +++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c @@ -619,7 +619,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;