aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/stk1160/stk1160-v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/stk1160/stk1160-v4l.c')
-rw-r--r--drivers/media/usb/stk1160/stk1160-v4l.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v4l.c
index fe6e857969ca..6694f9e2ca57 100644
--- a/drivers/media/usb/stk1160/stk1160-v4l.c
+++ b/drivers/media/usb/stk1160/stk1160-v4l.c
@@ -419,7 +419,12 @@ static int vidioc_enum_input(struct file *file, void *priv,
419 if (i->index > STK1160_MAX_INPUT) 419 if (i->index > STK1160_MAX_INPUT)
420 return -EINVAL; 420 return -EINVAL;
421 421
422 sprintf(i->name, "Composite%d", i->index); 422 /* S-Video special handling */
423 if (i->index == STK1160_SVIDEO_INPUT)
424 sprintf(i->name, "S-Video");
425 else
426 sprintf(i->name, "Composite%d", i->index);
427
423 i->type = V4L2_INPUT_TYPE_CAMERA; 428 i->type = V4L2_INPUT_TYPE_CAMERA;
424 i->std = dev->vdev.tvnorms; 429 i->std = dev->vdev.tvnorms;
425 return 0; 430 return 0;