summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-01-05 01:04:14 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 10:33:54 +0100
commit48efbc370eb2a9857cf65aec675c122302207dbc (patch)
tree0fa087fd90c483bc959390f5dbeaec7f8bd3eac2 /drivers/media/usb/em28xx
parentmedia: em28xx: USB bulk packet size fix (diff)
downloadlinux-48efbc370eb2a9857cf65aec675c122302207dbc.tar.xz
linux-48efbc370eb2a9857cf65aec675c122302207dbc.zip
media: em28xx: Increase max em28xx boards to max dvb adapters
Maximum 4 em28xx boards is too low, this can be maxed out by two devices. This allows all the dvb adapters in the system to be em28xx if so desired. Signed-off-by: Brad Love <brad@nextdimension.cc> Reviewed-by: Michael Ira Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx')
-rw-r--r--drivers/media/usb/em28xx/em28xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h
index 7be8ac9a9fa0..3dbcc9d05a8a 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -166,7 +166,7 @@
#define EM28XX_STOP_AUDIO 0
/* maximum number of em28xx boards */
-#define EM28XX_MAXBOARDS 4 /*FIXME: should be bigger */
+#define EM28XX_MAXBOARDS DVB_MAX_ADAPTERS /* All adapters could be em28xx */
/* maximum number of frames that can be queued */
#define EM28XX_NUM_FRAMES 5