From patchwork Fri Jul 6 19:23:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Roth?= X-Patchwork-Id: 1167111 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 260433FC2A for ; Fri, 6 Jul 2012 19:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757992Ab2GFTX6 (ORCPT ); Fri, 6 Jul 2012 15:23:58 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:47661 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757567Ab2GFTXz (ORCPT ); Fri, 6 Jul 2012 15:23:55 -0400 Received: by wibhr14 with SMTP id hr14so1171001wib.1 for ; Fri, 06 Jul 2012 12:23: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:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=s9NDAlHHy+SXrnR5GKX+23Elz+DuFjq6GUGDmw+2jDk=; b=k4+1zkk9sWkz/nG7BEnPUV5oyVnD2DUdcPyfV/ZmY0Cc/v5pJY5MBcqQOFWK3qdUtl SyPpb1xb1rKOCJPJbCNqJL3vRhCtj8przCw1iEqSrudSQqUTCX7fOPL/l0IJu+UfY+sO RbFbI8z2rFYjxs9UaT9PWUtGZp8uQSNcnAwb9sYDJDpZUcDSx59T7O+FCtzDagiGbqeO ScgpJD6xyndAQkT7GgTz+DWXnH7JKyOUcqhRGY9A1YXorEgNq1MCAuETEOTJcSEU9QTe EZpslKMy2BhzzXIhSWK/GVkVuT8jzCRpS+Widy57l4k4ITb3mBdLwKUZAnPQTeG6zMHX L5SA== Received: by 10.216.240.72 with SMTP id d50mr10365401wer.29.1341602634214; Fri, 06 Jul 2012 12:23:54 -0700 (PDT) Received: from localhost.localdomain (104-38.60-188.cust.bluewin.ch. [188.60.38.104]) by mx.google.com with ESMTPS id w10sm11052218wix.9.2012.07.06.12.23.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jul 2012 12:23:53 -0700 (PDT) From: =?UTF-8?q?Andr=C3=A9=20Roth?= To: linux-media@vger.kernel.org Cc: =?UTF-8?q?Andr=C3=A9=20Roth?= Subject: [PATCH 2/5] libdvbv5: Fix set delsys other than current Date: Fri, 6 Jul 2012 21:23:09 +0200 Message-Id: <1341602592-29508-2-git-send-email-neolynx@gmail.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1341602592-29508-1-git-send-email-neolynx@gmail.com> References: <1341602592-29508-1-git-send-email-neolynx@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Signed-off-by: André Roth --- lib/libdvbv5/dvb-fe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c index 4fb927a..9b18226 100644 --- a/lib/libdvbv5/dvb-fe.c +++ b/lib/libdvbv5/dvb-fe.c @@ -392,8 +392,8 @@ int dvb_set_compat_delivery_system(struct dvb_v5_fe_parms *parms, for (i = 0; i < parms->num_systems; i++) { if (parms->systems[i] == desired_system) { dvb_set_sys(parms, desired_system); + return 0; } - return 0; } /*