From patchwork Thu Dec 21 20:23:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10128367 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 6257960318 for ; Thu, 21 Dec 2017 20:23:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55C5329E5C for ; Thu, 21 Dec 2017 20:23:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A94229E5F; Thu, 21 Dec 2017 20:23:36 +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 E081129E5C for ; Thu, 21 Dec 2017 20:23:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753611AbdLUUXe (ORCPT ); Thu, 21 Dec 2017 15:23:34 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43672 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbdLUUXe (ORCPT ); Thu, 21 Dec 2017 15:23:34 -0500 Received: by mail-wr0-f196.google.com with SMTP id w68so13738366wrc.10 for ; Thu, 21 Dec 2017 12:23:33 -0800 (PST) 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=ESj+qXJDfHFDXctCNmm+AlV3gbnwkmetBv3q0RuLnJg=; b=jTbqW1nL/tgCTVssPwpabOfS/hUU/F0uHQHl9rq5VBYPLXeJ4fgJ8CNqk9mNRmQZlY +T+8aJh62H68atQRvPgq7JnigZKNtBJAmmI0I8AdZ+YPeVkl1AWe6pXa5++84w4O3w2P MEG5bTPmImdRxYFqWY4qybdl+9a6JmEfcAGIrE0kdQNi1DaL/CBBQYySVmKNl3zMu/R8 Iw3sxQvqudIrqc3eq57URiN+GKYyr2GdiRZK5Q7TNWtXfzUghOL1ExDftoKH7nPt/Y6G thunsiASDFGU4yXVoTcz/4mXeGNDzfnznFCyMJPYEi6Us1peLp/IiL2A68WOXM17a3DM S2tw== 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=ESj+qXJDfHFDXctCNmm+AlV3gbnwkmetBv3q0RuLnJg=; b=J8DyPVIzTJwfHpATKiFIoz8ETxsZGXoYQcuAXZouMuqw0h+zi9hCK6i9WiqcClRVg1 upyY7QCJeq/O3Xto2th7b1U1m3o5maCZVe09fmI+b+OcTjT/pPBwky1f+5oI0rRsxBMP ICsZFNwyT7NxCWhQtsy7F0TROs41czFgJwT6z52m5J3JzJkVPYwegX+djQyiMLpSGfiM uETQLN+SyUk6RxjkOK7eH9vnH+oU8xYONSHzK5wzTdxUCe8HWyYz62w3GvvwzIUHi5Q9 bkJ/8D7lDUVokhVBykHNTIrMzzF5r1PTKg1ZWWlus7H3O3T3ThG+k42Hu17wE0I/2Uq4 pczg== X-Gm-Message-State: AKGB3mL7gl3RFaGTlXF0nIJ6bu6G59TI7JVuEev9kyJJFw7/2n8of5ZF 736EARhk/VpPGpDof12ScTiTXw== X-Google-Smtp-Source: ACJfBouku4AeqhOk0bVGpFAKu9yFVNMhjyt9eKTBT+tIESRMZo805pUGMxR8Qe/WPkfv54P66QOYXA== X-Received: by 10.223.147.195 with SMTP id 61mr13979618wrp.176.1513887812616; Thu, 21 Dec 2017 12:23:32 -0800 (PST) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id j125sm5973670wmd.24.2017.12.21.12.23.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 12:23:32 -0800 (PST) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: rjkm@metzlerbros.de Subject: [PATCH 2/2] media: dvb-frontends/stv0910: report FEC 1/4 and 1/3 in get_frontend() Date: Thu, 21 Dec 2017 21:23:21 +0100 Message-Id: <20171221202321.30539-3-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171221202321.30539-1-d.scheller.oss@gmail.com> References: <20171221202321.30539-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 first two missing FECs in the modcod2fec fe_code_rate table were 1/4 and 1/3. Add them as they're now defined by the API. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv0910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c index a8c99f41478b..7cf90d435083 100644 --- a/drivers/media/dvb-frontends/stv0910.c +++ b/drivers/media/dvb-frontends/stv0910.c @@ -1551,7 +1551,7 @@ static int get_frontend(struct dvb_frontend *fe, APSK_32, }; const enum fe_code_rate modcod2fec[0x20] = { - FEC_NONE, FEC_NONE, FEC_NONE, FEC_2_5, + FEC_NONE, FEC_1_4, FEC_1_3, FEC_2_5, FEC_1_2, FEC_3_5, FEC_2_3, FEC_3_4, FEC_4_5, FEC_5_6, FEC_8_9, FEC_9_10, FEC_3_5, FEC_2_3, FEC_3_4, FEC_5_6,