Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c22c7236 authored by Gilad Broner's avatar Gilad Broner
Browse files

media: dvb: Increase the limit on number of section filters



The number of section filters was limited to 64. However, real
limitation is the number of unique PID filter that can be opened
with the TSPPv2 hardware.

Change-Id: I5ec39dc641f560cf2e5d4c8828152d15aa42ae6a
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent f82aaf71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -6517,7 +6517,7 @@ static int mpq_dmx_tsppv2_init(struct dvb_adapter *mpq_adapter,

	/* Set dvb-demux "virtual" function pointers */
	mpq_demux->demux.priv = (void *)mpq_demux;
	mpq_demux->demux.filternum = TSPP2_DMX_MAX_SECTION_FILTER_NUM;
	mpq_demux->demux.filternum = TSPP2_DMX_MAX_PID_FILTER_NUM;
	mpq_demux->demux.feednum = MPQ_MAX_DMX_FILES;
	mpq_demux->demux.start_feed = mpq_dmx_tspp2_start_filtering;
	mpq_demux->demux.stop_feed = mpq_dmx_tspp2_stop_filtering;
+1 −4
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -36,9 +36,6 @@

#define TSPP2_DMX_PIPE_WORK_POOL_SIZE		500

/* Max number of section filters */
#define TSPP2_DMX_MAX_SECTION_FILTER_NUM	64

/* Polling timer interval in milliseconds  */
#define TSPP2_DMX_POLL_TIMER_INTERVAL_MSEC	50