From patchwork Tue Jul 22 11:09:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Alves X-Patchwork-Id: 4601071 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 18BBDC0514 for ; Tue, 22 Jul 2014 11:10:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5988620158 for ; Tue, 22 Jul 2014 11:10:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4F2C20155 for ; Tue, 22 Jul 2014 11:09:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751755AbaGVLJ5 (ORCPT ); Tue, 22 Jul 2014 07:09:57 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:41516 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751253AbaGVLJ5 (ORCPT ); Tue, 22 Jul 2014 07:09:57 -0400 Received: by mail-we0-f170.google.com with SMTP id w62so8816018wes.1 for ; Tue, 22 Jul 2014 04:09:54 -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=cJ6mSx5FgRSDxEBDxLTgxFgBZ6f9ntOYOhfsJKHDeFM=; b=RIw7idyEItA/eswe9B2Olx/U2t0TEZ25Dbe9sz6SEgld3+VmX67x79JM0Ne5xOJ7t2 JMfNzeLGTT/fJXo7uAkJYPZ5lBk5LXTkjYkdwMhrbI8DQ19CzJtuRvoTiZ+4zpViDtLq pokTOs+y8dIj52wvd0EpVqoU8uH41hH4hagTkQsFW2594OP3R5M8G1JLtOdspg79x4Gc ralL/n/Qna5UXkwRRX/pUOT8nBen14qtr/EqOZQ4crthdNfjI+X6dHtgRAsGH7OKuEKE Sydg3MvYWseNCd/Foaf/4GLF4UdXFHjDlb77RaQeffTmKeIr6GVBptEBBUREhZ5eiyX7 3zow== X-Received: by 10.194.90.106 with SMTP id bv10mr33533230wjb.20.1406027394116; Tue, 22 Jul 2014 04:09:54 -0700 (PDT) Received: from localhost.localdomain (a89-152-208-230.cpe.netcabo.pt. [89.152.208.230]) by mx.google.com with ESMTPSA id wv8sm223968wjb.1.2014.07.22.04.09.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Jul 2014 04:09:53 -0700 (PDT) From: Luis Alves To: linux-media@vger.kernel.org Cc: crope@iki.fi, Luis Alves Subject: [PATCH] si2157: Fix DVB-C bandwidth. Date: Tue, 22 Jul 2014 12:09:48 +0100 Message-Id: <1406027388-10336-1-git-send-email-ljalvs@gmail.com> 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=-6.8 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=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 This patch fixes DVB-C reception. Without setting the bandwidth to 8MHz the received stream gets corrupted. Regards, Luis Signed-off-by: Luis Alves --- drivers/media/tuners/si2157.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index 6c53edb..e2de428 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si2157.c @@ -245,6 +245,7 @@ static int si2157_set_params(struct dvb_frontend *fe) break; case SYS_DVBC_ANNEX_A: delivery_system = 0x30; + bandwidth = 0x08; break; default: ret = -EINVAL;