From patchwork Wed Jun 21 20:10:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 9802827 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 99D3360329 for ; Wed, 21 Jun 2017 20:11:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8862E24603 for ; Wed, 21 Jun 2017 20:11:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AF5728563; Wed, 21 Jun 2017 20:11:00 +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 2098424603 for ; Wed, 21 Jun 2017 20:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191AbdFUUK6 (ORCPT ); Wed, 21 Jun 2017 16:10:58 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33890 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbdFUUK5 (ORCPT ); Wed, 21 Jun 2017 16:10:57 -0400 Received: by mail-wr0-f193.google.com with SMTP id k67so1425017wrc.1 for ; Wed, 21 Jun 2017 13:10: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; bh=Orgzn9WAe5fesSDN+9+D22EacYUdF3dfNZk8gIWJJzI=; b=qFd9ddvRp52SrVM/lcx1fHA72z+efAwUEgt2YIEW+bBCVB7Dgm1uVeuzaWxMQuGzFD DK1LobabWTgRy1LFi9DHtcVZ5oBqR1TepUE4agXD0tq6OD0WHJ+boNn43mFh8ErVodNN TUeOlAy3R9UextIuFxF8ZnMZpNMGbbhekKDqjxxr4hNTIetwDncNgQ7kQTjnenIduYCM xqLFobQtAPT6Ncf5sTFs4DrtVeG0twIHsi32FKVwpgdLAmhSr6lvt6CZP5ERa0vIop4J QKB61YN0fEyIGjNdgQyDjn2X9OacSPPmmtp2m2Y1z8pF2FHAV+vneqT2WpTP6nCfJRu8 p/bA== 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; bh=Orgzn9WAe5fesSDN+9+D22EacYUdF3dfNZk8gIWJJzI=; b=XztXY4bBIKJQHlxiwKAJKBo/cGiRuLtS1fHFMHImHesx4/klNiP/gBdSUIBGSm7HXT PQHQRcxl/pMtREawEawT68n8y/sowkoUaBplkEXAlpR5+zovzk5Lux5K2UlXKDXcYSWk 0RmjMGIArXT6/HApSXo8/r+jSsiejefLZBxnJ3JeF+25/0A5/FQX+BY7dCVt6kX6AiGM j4rYQDcqreioFtz5OHr4UFSkX/IeUChNWfXLn0OP893P6D+QXxzavMLYKZgqtOAwrPW6 YzzigYhr4SpBykmDHWB3cGCiX5GVybOzzIT515iZxtcm3twuOCLZ9NAoIFGK+h23tcLf waFA== X-Gm-Message-State: AKS2vOySQp3TXsCL0ZQVfZANt01cAyVWTyFJn8Y8np7VCPkOH9EAm+or dcqpOm8Zoy5hIp40 X-Received: by 10.223.176.61 with SMTP id f58mr24308352wra.74.1498075856285; Wed, 21 Jun 2017 13:10:56 -0700 (PDT) Received: from dvbdev.wuest.de (ip-37-24-178-151.hsi14.unitymediagroup.de. [37.24.178.151]) by smtp.gmail.com with ESMTPSA id c55sm13121204wrc.7.2017.06.21.13.10.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Jun 2017 13:10:55 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org Subject: [PATCH] [media] dvb-frontends/stv0367: deduplicate DDB dvb_frontend_ops caps Date: Wed, 21 Jun 2017 22:10:54 +0200 Message-Id: <20170621201054.23806-1-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.0 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/stv0367.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/media/dvb-frontends/stv0367.c b/drivers/media/dvb-frontends/stv0367.c index e726c2e00460..b42b99ad4d3f 100644 --- a/drivers/media/dvb-frontends/stv0367.c +++ b/drivers/media/dvb-frontends/stv0367.c @@ -3126,15 +3126,12 @@ static const struct dvb_frontend_ops stv0367ddb_ops = { 0x400 |/* FE_CAN_QAM_4 */ FE_CAN_QAM_16 | FE_CAN_QAM_32 | FE_CAN_QAM_64 | FE_CAN_QAM_128 | - FE_CAN_QAM_256 | FE_CAN_FEC_AUTO | + FE_CAN_QAM_256 | FE_CAN_QAM_AUTO | /* DVB-T */ - FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | - FE_CAN_FEC_3_4 | FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | - FE_CAN_FEC_AUTO | - FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_QAM_64 | - FE_CAN_QAM_128 | FE_CAN_QAM_256 | FE_CAN_QAM_AUTO | - FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_RECOVER | - FE_CAN_INVERSION_AUTO | + FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 | + FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO | + FE_CAN_QPSK | FE_CAN_TRANSMISSION_MODE_AUTO | + FE_CAN_RECOVER | FE_CAN_INVERSION_AUTO | FE_CAN_MUTE_TS }, .release = stv0367_release,