From patchwork Tue Mar 27 16:56:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 10311105 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 6D443600F6 for ; Tue, 27 Mar 2018 16:57:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BEC329602 for ; Tue, 27 Mar 2018 16:57:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 502B229D37; Tue, 27 Mar 2018 16:57:15 +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 EA9D429602 for ; Tue, 27 Mar 2018 16:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753237AbeC0Q5N (ORCPT ); Tue, 27 Mar 2018 12:57:13 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34001 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750948AbeC0Q5L (ORCPT ); Tue, 27 Mar 2018 12:57:11 -0400 Received: by mail-pf0-f195.google.com with SMTP id q9so2363204pff.1 for ; Tue, 27 Mar 2018 09:57:11 -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; bh=F2JB7RvHaN6pQ5dL66hSg2T84bTz+JDAsavicpFuou8=; b=t0LitRRRhiCPqJtE29cqG0IoQbZkSCpSYc6rJqxeUaIDuti4IDdSGccFXXF2WJQdu7 s6bgWHZ47Z8HqSA/tbKNENO4C2Ucfd1aspJeJWK1vIb7CDqW6cjp4aQpcTZ3H93hfXet NbzJw6+kh2x8ViI52Y8DsLyGuayjVSFo6zCYN19U1T0jNQiWbwTnq/4skJ7l65SHl9XS MRSQeojb5q95L6BQhPL0C2WJ5iyi5zhjjaqKVOtY/+iysVTJWRd94rhpdrDyUu6BPjeG a+ZJJugwbz9nG1HATiBmNPmPgtyUW82xuwvrzyXiFISyd8wT3YmpHvFFKVBI9GG4RtpD rj4w== 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; bh=F2JB7RvHaN6pQ5dL66hSg2T84bTz+JDAsavicpFuou8=; b=XS5KWMQ0vSOfKeIyi6kTKoDDWpGJwGY7x+vBtlUDFAXq/t0/EI71XQPn9Lic/fsHOH XDn9Ost67nmSXxeALGAiiwc7mQajEdZEYYwbr+vgS6hWBXNMTMo9vPzCZhZWeVMV6qK8 fqf2q4pPjAYYbRKNaX/AJdIMAAUD3z1GyZOeAchHVWWoLDoKC+N297cPWJFH5p5WAYng TfGqBUoQiaB3hnO2IFCLBwun/4Ymsn9zI/oxzbW/23QrH7SsmjVO9QMgb3E0VIn4SyY0 s7V96OyNX1K+CTrPp2R5If2+yZW4+mXtnjlIKbU1rYjeAp57/fAXCyhm4L8a0XZkisyU dxmA== X-Gm-Message-State: AElRT7F7y1k/dmfjvEiMaW4ys2+t9FptBmJGa7Oy316pzzx/h3/iZE+J 2vkxBHIa0Ag7T2tY8cHLDv7s+Q== X-Google-Smtp-Source: AIpwx48iT33X7CKuGM5aZAg5KcZb7aqXRcyYEc2/oEDR1RRnrA2vDIbuVmqp2kXbu1qN4XrKyEnEVg== X-Received: by 10.98.137.15 with SMTP id v15mr80099pfd.95.1522169830982; Tue, 27 Mar 2018 09:57:10 -0700 (PDT) Received: from localhost.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by smtp.googlemail.com with ESMTPSA id v62sm1167555pfv.141.2018.03.27.09.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 09:57:10 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: mchehab@s-opensource.com, Akihiro Tsukada Subject: [PATCH] dvb-core/dvb_frontend: set better default for ISDB-T Date: Wed, 28 Mar 2018 01:56:58 +0900 Message-Id: <20180327165658.19998-1-tskd08@gmail.com> X-Mailer: git-send-email 2.16.3 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: Akihiro Tsukada DTV_ISDBT_LAYER_ENABLED parameter should be set to "All" by default, instead of "None", as described in the API document. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index a7ed16e0841..fb10ac9cdd9 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -973,7 +973,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe) c->isdbt_sb_subchannel = 0; c->isdbt_sb_segment_idx = 0; c->isdbt_sb_segment_count = 0; - c->isdbt_layer_enabled = 0; + c->isdbt_layer_enabled = 7; /* All layers (A,B,C) */ for (i = 0; i < 3; i++) { c->layer[i].fec = FEC_AUTO; c->layer[i].modulation = QAM_AUTO;