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

Commit 938606b0 authored by Sigmund Augdal Helberg's avatar Sigmund Augdal Helberg Committed by Linus Torvalds
Browse files

[PATCH] V4L: Fixes maximum number of VBI devices



- Increases the minor number limitation for vbi devices from 223 to 255.
  This is in agreement with the minor number allocation specified in
  Documentation/devices.txt.

- Without this patch it is not possible to use more than 5 Hauppauge
  WinTV-PVR 350 cards since each of these allocate 3 vbi devices.

Signed-of-by: default avatarSigmund Augdal Helberg <sigmund@snap.tv>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent db1d1d57
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ int video_register_device(struct video_device *vfd, int type, int nr)
			break;
		case VFL_TYPE_VBI:
			base=224;
			end=240;
			end=256;
			name_base = "vbi";
			break;
		case VFL_TYPE_RADIO: