Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] usbvision: fix standards for S-Video/Composite inputs

The standards supported by S-Video and Composite inputs are not
limited by PAL, so make it more generic.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
94384014 8926e845

+3 -3
+3 -3
drivers/media/usb/usbvision/usbvision-video.c
··· 540 540 strcpy(vi->name, "Green Video Input"); 541 541 else 542 542 strcpy(vi->name, "Composite Video Input"); 543 - vi->std = V4L2_STD_PAL; 543 + vi->std = USBVISION_NORMS; 544 544 break; 545 545 case 2: 546 546 vi->type = V4L2_INPUT_TYPE_CAMERA; ··· 548 548 strcpy(vi->name, "Yellow Video Input"); 549 549 else 550 550 strcpy(vi->name, "S-Video Input"); 551 - vi->std = V4L2_STD_PAL; 551 + vi->std = USBVISION_NORMS; 552 552 break; 553 553 case 3: 554 554 vi->type = V4L2_INPUT_TYPE_CAMERA; 555 555 strcpy(vi->name, "Red Video Input"); 556 - vi->std = V4L2_STD_PAL; 556 + vi->std = USBVISION_NORMS; 557 557 break; 558 558 } 559 559 return 0;