projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8dac1
)
V4L/DVB (10500): saa7146: setting control while capturing should return EBUSY, not...
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sat, 7 Feb 2009 14:25:05 +0000
(11:25 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:42 +0000
(12:42 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_video.c
patch
|
blob
|
history
diff --git
a/drivers/media/common/saa7146_video.c
b/drivers/media/common/saa7146_video.c
index a2a8847e67892abef1892ed024ba8c73c9f0b894..1f837c1f7f740aba7692b177ad8b6c811f672036 100644
(file)
--- a/
drivers/media/common/saa7146_video.c
+++ b/
drivers/media/common/saa7146_video.c
@@
-697,7
+697,7
@@
static int vidioc_s_ctrl(struct file *file, void *fh, struct v4l2_control *c)
if (IS_CAPTURE_ACTIVE(fh) != 0) {
DEB_D(("V4L2_CID_HFLIP while active capture.\n"));
mutex_unlock(&dev->lock);
- return -E
INVAL
;
+ return -E
BUSY
;
}
vv->hflip = c->value;
break;
@@
-705,7
+705,7
@@
static int vidioc_s_ctrl(struct file *file, void *fh, struct v4l2_control *c)
if (IS_CAPTURE_ACTIVE(fh) != 0) {
DEB_D(("V4L2_CID_VFLIP while active capture.\n"));
mutex_unlock(&dev->lock);
- return -E
INVAL
;
+ return -E
BUSY
;
}
vv->vflip = c->value;
break;