Skip to content

Commit

Permalink
[media] Raise adapter number limit
Browse files Browse the repository at this point in the history
The current limit is too low for latest cards with 8+ tuners on a single slot.
IMHO, the most appropriate minimum default is 16.

Signed-off-by: Буди Романто, AreMa Inc <knightrider@are.ma>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
Буди Романто, AreMa Inc authored and Mauro Carvalho Chehab committed Nov 23, 2016
1 parent 190b23b commit 90866b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb-core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
config DVB_MAX_ADAPTERS
int "maximum number of DVB/ATSC adapters"
depends on DVB_CORE
default 8
default 16
range 1 255
help
Maximum number of DVB/ATSC adapters. Increasing this number
increases the memory consumption of the DVB subsystem even
if a much lower number of DVB/ATSC adapters is present.
Only values in the range 4-32 are tested.

If you are unsure about this, use the default value 8
If you are unsure about this, use the default value 16

config DVB_DYNAMIC_MINORS
bool "Dynamic DVB minor allocation"
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb-core/dvbdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
#define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
#else
#define DVB_MAX_ADAPTERS 8
#define DVB_MAX_ADAPTERS 16
#endif

#define DVB_UNSET (-1)
Expand Down

0 comments on commit 90866b3

Please sign in to comment.