summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-core/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-13 06:57:47 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 08:41:45 -0200
commitbbd02f6aa9fb4c1c951fe52629b722f79c70883f (patch)
tree434ef74b0579e78b6a308c10e9d509dd83662c75 /drivers/media/dvb-core/Kconfig
parentb3ad24d2e0b039834db28d06727dc9a675aa0396 (diff)
[media] dvb_demux: convert an internal ifdef into a Kconfig option
There are some ifdefs inside the dvb_demux that are meant to enable advanced debug capabilities, at the cost of being very verbose. Keeping those as internal ifdefs is a very bad idea, as it doesn't make easy to check if the code there was broken by some patch. So, let's add an explicit Kconfig option for it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/Kconfig')
-rw-r--r--drivers/media/dvb-core/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/Kconfig b/drivers/media/dvb-core/Kconfig
index fa7a2490ed5f..8964f1d3cf57 100644
--- a/drivers/media/dvb-core/Kconfig
+++ b/drivers/media/dvb-core/Kconfig
@@ -27,3 +27,16 @@ config DVB_DYNAMIC_MINORS
will be required to manage the device nodes.
If you are unsure about this, say N here.
+
+config DVB_DEMUX_SECTION_LOSS_LOG
+ bool "Enable DVB demux section packet loss log"
+ depends on DVB_CORE
+ default n
+ help
+ Enable extra log messages meant to detect packet loss
+ inside the Kernel.
+
+ Should not be enabled on normal cases, as logs can
+ be very verbose.
+
+ If you are unsure about this, say N here.