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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v4l.c
index 876fc26565e3..ee46d82bed5d 100644
--- a/drivers/media/usb/stk1160/stk1160-v4l.c
+++ b/drivers/media/usb/stk1160/stk1160-v4l.c
@@ -440,9 +440,6 @@ static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
440{ 440{
441 struct stk1160 *dev = video_drvdata(file); 441 struct stk1160 *dev = video_drvdata(file);
442 442
443 if (vb2_is_busy(&dev->vb_vidq))
444 return -EBUSY;
445
446 if (i > STK1160_MAX_INPUT) 443 if (i > STK1160_MAX_INPUT)
447 return -EINVAL; 444 return -EINVAL;
448 445