aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2014-01-01 13:49:29 +0200
committerGilad Broner <gbroner@codeaurora.org>2014-01-02 13:30:10 +0200
commitc22c7236bb16683bbe4849da78e5a27384018d13 (patch)
tree16f89cc9c7cefcdc649b2be91ef683ab3e8710b8
parentf82aaf71a3f8f08bce146aa4776a7b702818145a (diff)
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: Gilad Broner <gbroner@codeaurora.org>
-rw-r--r--drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.c4
-rw-r--r--drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.c b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.c
index b3c3ad1deaf..f5690cea0b8 100644
--- a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.c
+++ b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.c
@@ -1,4 +1,4 @@
-/* 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;
diff --git a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.h b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.h
index 075a730f46d..abac18bdbaa 100644
--- a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.h
+++ b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v2.h
@@ -1,4 +1,4 @@
-/* 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