From patchwork Sun Oct 26 12:01:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5153891 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 65A33C11AC for ; Sun, 26 Oct 2014 12:01:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A25A4202F8 for ; Sun, 26 Oct 2014 12:01:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C601A20303 for ; Sun, 26 Oct 2014 12:01:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751849AbaJZMBb (ORCPT ); Sun, 26 Oct 2014 08:01:31 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:65233 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751844AbaJZMBa (ORCPT ); Sun, 26 Oct 2014 08:01:30 -0400 Received: by mail-pa0-f44.google.com with SMTP id bj1so159898pad.31 for ; Sun, 26 Oct 2014 05:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=tDi0pMVSSYUFKyavSFVq1hRIKQYQQX4ZYZYcmUgeKV0=; b=M33YF4TidJdhsESTuS7DmdpMI/e+0t36+lCPhGtYruai6ZX2cCm+wHLfrrum9gPVB2 qLdSScbJbCCvqXfCfVmPX9TWd7X1j1jQNvl3n2QPnOogbvSsllhkd+UyCjjnqTeGNJZW Glm599+Z3kXMZWmpKxJZl3+/HRkXlJG6mg5lNEMyg4jxcR+OsfYmB1aEx5cRFHaKScQY rIlYBfOZE2cXba2Iij49cZ9RkpefJFRePl8ZK/qUePSwXBrQ1hdg+IaFsAvA7/1ftXdD KPC8YhYLPxTFjAesVWEFgCZ6pgASqyIqvrIIRe2DqWT6gZ2BIwVMw34LsiztEg3Tppgb gO0A== X-Received: by 10.66.121.65 with SMTP id li1mr536466pab.148.1414324888952; Sun, 26 Oct 2014 05:01:28 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id fg1sm8218091pdb.91.2014.10.26.05.01.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Oct 2014 05:01:28 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH] dvb-core: set default properties of ISDB-S Date: Sun, 26 Oct 2014 21:01:14 +0900 Message-Id: <1414324874-16417-1-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Akihiro Tsukada delsys-fixed props should be set in dvb-core instead of in each driver. --- drivers/media/dvb-core/dvb_frontend.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index c862ad7..1e9b814 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -962,6 +962,10 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe) case SYS_ATSC: c->modulation = VSB_8; break; + case SYS_ISDBS: + c->symbol_rate = 28860000; + c->rolloff = ROLLOFF_35; + break; default: c->modulation = QAM_AUTO; break; @@ -2074,6 +2078,7 @@ static int dtv_set_frontend(struct dvb_frontend *fe) break; case SYS_DVBS: case SYS_TURBO: + case SYS_ISDBS: rolloff = 135; break; case SYS_DVBS2: