From patchwork Fri Oct 31 13:19:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5204381 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 CA1AAC11AC for ; Fri, 31 Oct 2014 13:20:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D9FF20160 for ; Fri, 31 Oct 2014 13:20:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 34D162010B for ; Fri, 31 Oct 2014 13:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933192AbaJaNT6 (ORCPT ); Fri, 31 Oct 2014 09:19:58 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:51563 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932326AbaJaNT6 (ORCPT ); Fri, 31 Oct 2014 09:19:58 -0400 Received: by mail-pa0-f47.google.com with SMTP id kx10so7708171pab.20 for ; Fri, 31 Oct 2014 06:19:57 -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=vPNiyY1LAa1WlxVewBQ9ksjcdxnaDqCbNS5IaY/zLao=; b=WRB+AKl7wgl9IzDTmgJ9ypbnAQ86JHq2VhMW9MN6O9fLDYjJM9VfO/9freyM+IKv8J LWYi+N9YjsfO5kcfYw6Bc5GT3baULTxkejkEUgYnxICzeE0oDy3t5tf0NO7juLGzPsiT /FqHUy6mSNRfMnbEuxS5TiZe2g2UKMzzbOcEkiNScVj0HXu5GYwNHGmlwyPRBaHeRpkj 04uJ2BgCL0H/c+Crwu76vzKRil/Gn2Rjsmx3RKEJYiivUYbTaiTnLP4jU0uDegnOGWYh igx9go3SazJ865SY1GVBu6vMLqE0/pZA721TaTNiygj2ulclvj3J1eqFZw/ddOpmGlqo jA7Q== X-Received: by 10.68.101.131 with SMTP id fg3mr24895721pbb.130.1414761597526; Fri, 31 Oct 2014 06:19:57 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id y2sm9963306pdp.31.2014.10.31.06.19.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 06:19:56 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH v2] dvb-core: set default properties of ISDB-S Date: Fri, 31 Oct 2014 22:19:39 +0900 Message-Id: <1414761579-1311-1-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.3 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 Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-core/dvb_frontend.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index c862ad7..95d6296 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -962,6 +962,11 @@ 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; + c->bandwidth_hz = c->symbol_rate / 100 * 135; + break; default: c->modulation = QAM_AUTO; break; @@ -2074,6 +2079,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: