From patchwork Mon Jan 22 17:13:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10178915 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 AD552601D5 for ; Mon, 22 Jan 2018 17:14:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9395928355 for ; Mon, 22 Jan 2018 17:14:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86D9428421; Mon, 22 Jan 2018 17:14:02 +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 2E9B92841D for ; Mon, 22 Jan 2018 17:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751117AbeAVROA (ORCPT ); Mon, 22 Jan 2018 12:14:00 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39434 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbeAVRNy (ORCPT ); Mon, 22 Jan 2018 12:13:54 -0500 Received: by mail-wm0-f68.google.com with SMTP id b21so18319539wme.4 for ; Mon, 22 Jan 2018 09:13:54 -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=x6bp60QtJXkr9+j0vCXXYK6ARezaCPvIsY4mteMZkq4=; b=eBrU5EDjn53ZDDcVEG6uggzgZjYrUEwyooaBWCLpkHNfUwVOXnhg4Fdxz97xa9yNub o+rGOn+K3xJEJyA1r85pLNiI6e+GeSOrKIYtTL9kjRPs4fFuRkk5k1DoApIX3O229rew 4QrIcEjPV+lHRzCBYl7B9CJIxvkr1hGG9OSgkZzCNHaVr42yGOpsFBvmYCXASDr8IjyE LNnGZnSkkU450ql2ujuIjBsXEKbCMHj3KSQ/cdTthMJjsKmJGdDngKQtjNngxgEjgMQg eBbsJraKkSlv+LwV716OPmL7FSY5z4BRvQCWN6yyan2t+lYqXJZxzHr3hDPWXwkQWMv9 Wvcg== 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=x6bp60QtJXkr9+j0vCXXYK6ARezaCPvIsY4mteMZkq4=; b=Mc2aPmthOlRg+eMPwQWgsouKYcgmb3izFjcCgoiYmMXObL1DPZltNE9kPQv/m3K10i jR3LQnO08KEoLZwELQIItaaEIP7rXVAIL98e0OZ90kw5v6BHne6y3bSreKXcqRYrjjXC /68BCDSK0DO5GouVydKGSlRhadC2DnjqCOteuqtHX7kVjBDFcZpYyAkcgfamDFGRPiUl HzzsQGVV8yird07aurGp+Y2m13CGzAqwJTfaPaJiH/dTQqLCI8HdfE8B2mrGO0VvWOPi GoatKRhoAUOkqDRAtQ3tyssWsgZpdEoC0SePa384ByLST5L4zwchBvH1s1YnV0cCdczO OyKw== X-Gm-Message-State: AKwxytfjpG+ZoVjCZDzO7HMSZrXG7cTLL3V7JLS0HqctlVXAnSA8K7eZ 0rn2Z9vW9TcUUnkhly5aMZOx5A== X-Google-Smtp-Source: AH8x225ZUIbh5MracIyqhbYbs+8gbIvH0Sx7ZDfQqZ+aBpfN+zVE54uSNcRTv8H/S8XfK05HbADUUw== X-Received: by 10.28.218.12 with SMTP id r12mr5511783wmg.157.1516641233382; Mon, 22 Jan 2018 09:13:53 -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 z39sm13113986wrz.20.2018.01.22.09.13.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jan 2018 09:13:52 -0800 (PST) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: rascobie@slingshot.co.nz Subject: [PATCH v2 3/5] media: dvb-frontends/stv0910: report FEC 1/4 and 1/3 in get_frontend() Date: Mon, 22 Jan 2018 18:13:44 +0100 Message-Id: <20180122171346.822-4-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180122171346.822-1-d.scheller.oss@gmail.com> References: <20180122171346.822-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 a2f7c0c1587f..de132a85e537 100644 --- a/drivers/media/dvb-frontends/stv0910.c +++ b/drivers/media/dvb-frontends/stv0910.c @@ -1562,7 +1562,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,