aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/au0828/au0828-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/au0828/au0828-video.c')
-rw-r--r--drivers/media/video/au0828/au0828-video.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/video/au0828/au0828-video.c b/drivers/media/video/au0828/au0828-video.c
index 96895117a0c..e7b2733ba86 100644
--- a/drivers/media/video/au0828/au0828-video.c
+++ b/drivers/media/video/au0828/au0828-video.c
@@ -1174,22 +1174,18 @@ static int vidioc_s_input(struct file *file, void *priv, unsigned int index)
switch(AUVI_INPUT(index).type) {
case AU0828_VMUX_SVIDEO:
- {
dev->input_type = AU0828_VMUX_SVIDEO;
break;
- }
case AU0828_VMUX_COMPOSITE:
- {
dev->input_type = AU0828_VMUX_COMPOSITE;
break;
- }
case AU0828_VMUX_TELEVISION:
- {
dev->input_type = AU0828_VMUX_TELEVISION;
break;
- }
default:
- ;
+ dprintk(1, "VIDIOC_S_INPUT unknown input type set [%d]\n",
+ AUVI_INPUT(index).type);
+ break;
}
route.input = AUVI_INPUT(index).vmux;