From patchwork Thu Oct 30 10:43:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 5195501 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 F3F36C11AC for ; Thu, 30 Oct 2014 10:43:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4048220154 for ; Thu, 30 Oct 2014 10:43:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62AB620219 for ; Thu, 30 Oct 2014 10:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758740AbaJ3Kn1 (ORCPT ); Thu, 30 Oct 2014 06:43:27 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:49127 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758904AbaJ3Kn0 (ORCPT ); Thu, 30 Oct 2014 06:43:26 -0400 Received: by mail-lb0-f178.google.com with SMTP id f15so4531205lbj.9 for ; Thu, 30 Oct 2014 03:43:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=6vZmyIZddevhtCo53Yot2pJcbiOQyG6CSAb0jMIml5A=; b=OD/FEi11qY221CXSdYyTfaAfs240iYY4GfpaIY0mn1Ue0IQoD2DhEvnDZ7FbSeNSKa bxp2JAaLFqkf4mjdcY3bqQ6x9HX+pNpOJTGgJzvIjOG89whwjTN7QEZYxIIIgP31ei9g 9ULxDpIi4Lh/5k6pRnANKwmFYqlF8QKQqiFVRTkDIF1YC0LgWfADTJF3PR+fYofN/fJH KnNP0i3CzyAw5Lj3q0eqnrf3IOsiy5eSYpXlfcsmVwby5Qo2LCO6dCLeJnPgnGOWGhkl ZJMlCEzOXeqn40m36L9V5rpDiHY0D7TvI2gEpelQ+yIBPIWx3dxtByvSK65ny9hG8Lz+ TfrQ== X-Gm-Message-State: ALoCoQnYVkpaFEt2mkphUH0/Y17pDC2mO1iTC/j90EURKPnxYifd6GuJoOftAWiZjaU+jYHrWuvN X-Received: by 10.112.48.3 with SMTP id h3mr18145855lbn.71.1414665804212; Thu, 30 Oct 2014 03:43:24 -0700 (PDT) Received: from dl160.lan (188-67-84-160.bb.dnainternet.fi. [188.67.84.160]) by mx.google.com with ESMTPSA id 8sm1298878lav.15.2014.10.30.03.43.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Oct 2014 03:43:23 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH] si2157: add support for SYS_DVBC_ANNEX_B Date: Thu, 30 Oct 2014 12:43:16 +0200 Message-Id: <1414665796-22123-1-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Set the property for delivery system also in case of SYS_DVBC_ANNEX_B. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver. Signed-off-by: Olli Salonen Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index cf97142..b086b87 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si2157.c @@ -250,6 +250,9 @@ static int si2157_set_params(struct dvb_frontend *fe) case SYS_ATSC: delivery_system = 0x00; break; + case SYS_DVBC_ANNEX_B: + delivery_system = 0x10; + break; case SYS_DVBT: case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */ delivery_system = 0x20;