From patchwork Sun Jul 23 10:13:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 9858313 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 6DFB860393 for ; Sun, 23 Jul 2017 10:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E94728500 for ; Sun, 23 Jul 2017 10:14:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 539D828518; Sun, 23 Jul 2017 10:14:26 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 C821F2850D for ; Sun, 23 Jul 2017 10:14:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbdGWKNb (ORCPT ); Sun, 23 Jul 2017 06:13:31 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35708 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbdGWKN0 (ORCPT ); Sun, 23 Jul 2017 06:13:26 -0400 Received: by mail-wm0-f68.google.com with SMTP id m75so5412400wmb.2 for ; Sun, 23 Jul 2017 03:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/fHKAyfaUiIsiN8whs6j1H6NpypjJNDFBlvZAFwvyRY=; b=tiCuWsWrtrXLI/x96WoVma46HkWbvaHxXYmjyI0Tll0d32Os24yL/lrFjhWfU30FSv l3y10qp/xfG74KZbvNwz/SY/6aPrO/Vc+YDicFhMxZAlrMamkIWtMwvwzRNQaJrToLxQ ps/1BBYUVoldjnYs0KHSekrz9lYWZoN4kS+iCSvwFhq7mO+7vvGTjKLEhjOe9izhnQeB Sy0NbbZDG7BJBXAJZyak5ySPT27cyHYEYUhzIMB0vbCSaZK6A1/2/BvFjNjpmwa9NUry 9ASNA877s/L7avnkqf9sP6IywrP537w3I3XCy23OV082R+iS3pplUJ0uTzeTwkNZSiLo HavQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/fHKAyfaUiIsiN8whs6j1H6NpypjJNDFBlvZAFwvyRY=; b=CzCcBces4cWjiaD0CLpMtH7soBXN4Sy7h/TEt/U4NL56iWjeJ20/0FX5nORcNNeo0+ 6UsJ0RXDvobykk3LHbNZ5PbjXldzkocBW5i61oOffiFY4rtakmwJpsf8j6Bkazq65VvD GwscckqFY2Sv2e720Zfm2MGI6otE5ObYPHxX2qhZ5z4ZyVZVPEVDfpP/ERNRTE28Xy1R DQ9Nxf/jYu3RGgsfICN5/1vLoSCz7PE2gSOd4ViWS1OXb3vLaaMjF9ymu2jpTXPbRwI9 imDfmCBKnX77lvQXdnNOf9PVeGADNMdgnnXLTSToix257z6m4SRGaHjdJJSDvYYzq+L/ WTKQ== X-Gm-Message-State: AIVw110B+pVuj2moMMMCx9qNrP0Kz0zrwL+9B/GaUFL7A3dIKx4iOwNs APYM4DlYBV7B/WeW X-Received: by 10.28.157.81 with SMTP id g78mr2848745wme.76.1500804804732; Sun, 23 Jul 2017 03:13:24 -0700 (PDT) Received: from dvbdev.wuest.de (ip-84-118-193-88.unity-media.net. [84.118.193.88]) by smtp.gmail.com with ESMTPSA id i67sm10905796wri.61.2017.07.23.03.13.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Jul 2017 03:13:24 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: jasmin@anw.at, r.scobie@clear.net.nz Subject: [PATCH 6/7] [media] dvb-frontends/stv6111: cosmetics: comments fixup, misc Date: Sun, 23 Jul 2017 12:13:14 +0200 Message-Id: <20170723101315.12523-7-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170723101315.12523-1-d.scheller.oss@gmail.com> References: <20170723101315.12523-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 Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv6111.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/media/dvb-frontends/stv6111.c b/drivers/media/dvb-frontends/stv6111.c index 91e24ba44c30..c4db5e6c18af 100644 --- a/drivers/media/dvb-frontends/stv6111.c +++ b/drivers/media/dvb-frontends/stv6111.c @@ -42,7 +42,7 @@ struct slookup { }; static struct slookup lnagain_nf_lookup[] = { - /*Gain *100dB*/ /*Reg*/ + /* Gain *100dB // Reg */ { 2572, 0 }, { 2575, 1 }, { 2580, 2 }, @@ -78,7 +78,7 @@ static struct slookup lnagain_nf_lookup[] = { }; static struct slookup lnagain_iip3_lookup[] = { - /*Gain *100dB*/ /*reg*/ + /* Gain *100dB // reg */ { 1548, 0 }, { 1552, 1 }, { 1569, 2 }, @@ -114,7 +114,7 @@ static struct slookup lnagain_iip3_lookup[] = { }; static struct slookup gain_rfagc_lookup[] = { - /*Gain *100dB*/ /*reg*/ + /* Gain *100dB // reg */ { 4870, 0x3000 }, { 4850, 0x3C00 }, { 4800, 0x4500 }, @@ -174,7 +174,7 @@ static struct slookup gain_rfagc_lookup[] = { * a different BB_MAG setting) */ static struct slookup gain_channel_agc_nf_lookup[] = { - /*Gain *100dB*/ /*reg*/ + /* Gain *100dB // reg */ { 7082, 0x3000 }, { 7052, 0x4000 }, { 7007, 0x4600 }, @@ -233,7 +233,7 @@ static struct slookup gain_channel_agc_nf_lookup[] = { }; static struct slookup gain_channel_agc_iip3_lookup[] = { - /*Gain *100dB*/ /*reg*/ + /* Gain *100dB // reg */ { 7070, 0x3000 }, { 7028, 0x4000 }, { 7019, 0x4600 }, @@ -483,7 +483,7 @@ static int set_lof(struct stv *state, u32 local_frequency, u32 cutoff_frequency) else icp = 7; - state->reg[0x02] |= 0x80; /* LNA IIP3 Mode */ + state->reg[0x02] |= 0x80; /* LNA IIP3 Mode */ state->reg[0x03] = (state->reg[0x03] & ~0x80) | (psel << 7); state->reg[0x04] = (div & 0xFF); @@ -503,7 +503,7 @@ static int set_lof(struct stv *state, u32 local_frequency, u32 cutoff_frequency) read_reg(state, 0x03, &tmp); if (tmp & 0x10) { - state->reg[0x02] &= ~0x80; /* LNA NF Mode */ + state->reg[0x02] &= ~0x80; /* LNA NF Mode */ write_regs(state, 2, 1); } read_reg(state, 0x08, &tmp); @@ -636,15 +636,15 @@ static int get_rf_strength(struct dvb_frontend *fe, u16 *st) static struct dvb_tuner_ops tuner_ops = { .info = { - .name = "STV6111", - .frequency_min = 950000, - .frequency_max = 2150000, - .frequency_step = 0 + .name = "STV6111", + .frequency_min = 950000, + .frequency_max = 2150000, + .frequency_step = 0 }, - .set_params = set_params, - .release = release, - .get_rf_strength = get_rf_strength, - .set_bandwidth = set_bandwidth, + .set_params = set_params, + .release = release, + .get_rf_strength = get_rf_strength, + .set_bandwidth = set_bandwidth, }; struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,