]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx23885: Bugfix /sys/class/video4linux/videoX/name truncation
authorSteven Toth <stoth@kernellabs.com>
Thu, 5 Jan 2012 00:13:26 +0000 (21:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 08:54:30 +0000 (06:54 -0200)
commit51a84b9e1cafbd89d3a2b69b76c9855a5866b37d
treed9175a25edc6f63ddfaa70d4bc271ae3813ae827
parent90f27ec6f24a4496902d1dd0d40a57602a2f4cb7
[media] cx23885: Bugfix /sys/class/video4linux/videoX/name truncation

The card names are being truncated in the video4linux sys class name file.
Prior to this patch they were shown as:
cx23885[0] mpeg (Hauppauge WinT
cx23885[0] video (Hauppauge WinT
cx23885[0] vbi (Hauppauge WinT

After this patch they are shown as:
Hauppauge WinTV-HVR1850 (video)
Hauppauge WinTV-HVR1850 (mpeg)
Hauppauge WinTV-HVR1850 (vbi)

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-417.c
drivers/media/video/cx23885/cx23885-video.c