From patchwork Mon Apr 9 16:47:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10331751 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 0DC5860236 for ; Mon, 9 Apr 2018 16:48:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F40662015F for ; Mon, 9 Apr 2018 16:48:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E897D28630; Mon, 9 Apr 2018 16:48:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, 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 4FB582015F for ; Mon, 9 Apr 2018 16:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbeDIQr7 (ORCPT ); Mon, 9 Apr 2018 12:47:59 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:32836 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbeDIQr5 (ORCPT ); Mon, 9 Apr 2018 12:47:57 -0400 Received: by mail-wr0-f196.google.com with SMTP id z73so10279289wrb.0 for ; Mon, 09 Apr 2018 09:47:57 -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=Uz9RIzNWfM+gtZsUexF9qWYIZlBEk/p52q3TUS/VC1ss9deeSwszWRdR+X+96ry7pS SJKwkQQZ1+/pt0YoyklhhO1TzKoN5wFgpN9MZIo9VOOD3h1zPaXcBTuPl60b9iD9BXmq 8wGsh5pwMrLx7wmjNQ0HuXjxk1NNivwt1IJNBSAnJMhE9dE3SILPlNB5STlosPQQq1xh 6ujZ+B3CHLrmDVjNdpE0eBgpVFMakIGXqZ8C2Fa4zrUCnK0tZfCESUKoiOZkCJI1Ss6g nnwjtdRmwcIfVpE35WwsthXEX4dVMmgCgdguaLCBoGCwphJ3anasCVFPPqKj9zKegeDK IG4A== 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=gsUV2a6FkINncrWIa4knH6isQCNVLMQWzdeLHFW7dZh63XIUSUJPOcSiQXIDf/yN0E 8rHMRGle20PlD9S9HLzMeAF3wO4XxVYEd2QsRuvP9/fsC7rh8pbAfBwG8n3gddrTVC24 9q9SWmA6XKwgH69Hsquv4fQFcOl6Heb4yoIn/5F4RTP4J/slYiCGd6uJD7s/RAIXZVJr 8jxrQ18ZcafuADP2ahoUKzfkikLXy3klxthnRsAKYp74gyB9e/np9bYwlHNl5nCcszRZ 6KDSI+ddaRSGz9MuqkJyGvG2G4ntnml3qRX7d2HsXQZUUc/Z7XOap0Dg1Op1YHfTXNV1 JxgQ== X-Gm-Message-State: AElRT7FLysn1pvGfbb/TACiEjbuu5PGL2Ah1z51z208j0YoPowa/f5PR 80RtOTdsitzc8CESFQSFU/YI8w== X-Google-Smtp-Source: AIpwx4+sHvnJWUhqTDTF7n8IZ4KSxTeB8OdZXlAxDgvVAn+3/7Bb20Pje0rnDGG8Ku0Ho8iWxSygEg== X-Received: by 10.223.226.13 with SMTP id j13mr28511469wri.118.1523292476397; Mon, 09 Apr 2018 09:47:56 -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 11sm1380416wmd.1.2018.04.09.09.47.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 09:47:55 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Subject: [PATCH v2 01/19] [media] dvb-frontends/stv0910: add init values for TSINSDELM/L Date: Mon, 9 Apr 2018 18:47:34 +0200 Message-Id: <20180409164752.641-2-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180409164752.641-1-d.scheller.oss@gmail.com> References: <20180409164752.641-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; }