From patchwork Mon Apr 2 18:24:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10320147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50F0260116 for ; Mon, 2 Apr 2018 18:24:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41E0228A4C for ; Mon, 2 Apr 2018 18:24:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36AE528A5D; Mon, 2 Apr 2018 18:24:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7053928A4C for ; Mon, 2 Apr 2018 18:24:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753277AbeDBSYe (ORCPT ); Mon, 2 Apr 2018 14:24:34 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51333 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080AbeDBSYc (ORCPT ); Mon, 2 Apr 2018 14:24:32 -0400 Received: by mail-wm0-f65.google.com with SMTP id v21so27561474wmc.1 for ; Mon, 02 Apr 2018 11:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=EPBDDrSe7icnghAYV/uOjxGAypeoAuUksip5+eKnBx8=; b=iB6YQu5ds3QyYHtK/80UZznivXx/AR6kYmCy1gm+b9NQY+xrtrr4Rync91vHFFx+hK HFaehs1RGdTVboe5HMV99u8x3vY5cAX+WRqpY+V0qNemNuOfnu72EePWHH9KoSInPd6g ME1wmsxIlCJKu7f5w99bJmz4TsGOEbdxlilEyGSJuQ2ihUzIBgoPhgB60wzcpjkXU+sy FKgF3P530S/b/a6Wgw87CUpymG9yrxnHZG025ujRi86+cIQvG00gpOBAHy+O7cWGhvx7 u0uIt0q1RaFg+ROiOhufe9Rh3KpXYepPdFz6dDHTlg4T9zUwogwECsR5RoG4H5ft2ruf BTsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=EPBDDrSe7icnghAYV/uOjxGAypeoAuUksip5+eKnBx8=; b=SgxCQf4ssGmVFrbdMLNETPxQ1mn2cxq7jua4EVIFUHTWdTJPLI+vy8n5ovr1qq9xfv KFk6OyW+J9l14Gkgcx9xB7hMMStMAHLRuZiGW3XfCdx2Mfld7ZbOsfEb4CkpXZqJo58+ OTQH0JHYQVdhuJTvFa3pMSeo+ZXVEe63l54hPBBSoBKOsRdoBYGNyOvoK/OL/UMscLi2 EWQlYYSttz91imr+l7lrt/gQJ83vrUvdlMT6vIY8smpZ06a33uBOZvLEFpg2vA6Z2G24 qrLuIn65C/jVXEO7mnEVJzD+dcrmDQViYNF/e7c+3N/AtMKyNfOIvvYCqJB6nFgl247W 65Hw== X-Gm-Message-State: AElRT7HL4PXhRhfYadZ6vgr4Zgt08/Z5vIOJQuJVXKY6Jg5Six6yUYXK faB7PUWSUYCWp59XJUZaF2Q0+w== X-Google-Smtp-Source: AIpwx49B05yXI7IvCWDstTPvDt4y9kA7tQbRFR4Ju1TO2td8VZF6m4GNojWJC/QHa9/OAD0JvqSTIw== X-Received: by 10.28.125.194 with SMTP id y185mr1852118wmc.160.1522693471444; Mon, 02 Apr 2018 11:24:31 -0700 (PDT) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id x9sm2368273wrb.18.2018.04.02.11.24.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 11:24:30 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Subject: [PATCH 01/20] [media] dvb-frontends/stv0910: add init values for TSINSDELM/L Date: Mon, 2 Apr 2018 20:24:08 +0200 Message-Id: <20180402182427.20918-2-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180402182427.20918-1-d.scheller.oss@gmail.com> References: <20180402182427.20918-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller The TSINSDEL registers were lacking initialisation in the stv0910 demod driver. Initialise them (both demods) in the probe() function. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv0910.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c index 52355c14fd64..f5b5ce971c0c 100644 --- a/drivers/media/dvb-frontends/stv0910.c +++ b/drivers/media/dvb-frontends/stv0910.c @@ -1220,6 +1220,12 @@ static int probe(struct stv *state) write_reg(state, RSTV0910_P1_I2CRPT, state->i2crpt); write_reg(state, RSTV0910_P2_I2CRPT, state->i2crpt); + write_reg(state, RSTV0910_P1_TSINSDELM, 0x17); + write_reg(state, RSTV0910_P1_TSINSDELL, 0xff); + + write_reg(state, RSTV0910_P2_TSINSDELM, 0x17); + write_reg(state, RSTV0910_P2_TSINSDELL, 0xff); + init_diseqc(state); return 0; }