projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffac75
)
MMFMWK-8552-2: correct the error no when reqbufs fail
author
ming_qian
<ming.qian@nxp.com>
Wed, 11 Sep 2019 08:59:58 +0000
(16:59 +0800)
committer
ming_qian
<ming.qian@nxp.com>
Wed, 11 Sep 2019 09:05:45 +0000
(17:05 +0800)
if stream status is on,
reqbufs will fail,
return -EBUSY instead of -EINVAL
Signed-off-by: ming_qian <ming.qian@nxp.com>
(cherry picked from commit
65cfc81f73639c633d9e9b7c23c9c58443fa661f
)
drivers/mxc/vpu_malone/vpu_b0.c
patch
|
blob
|
history
diff --git
a/drivers/mxc/vpu_malone/vpu_b0.c
b/drivers/mxc/vpu_malone/vpu_b0.c
index
a009bd9
..
a0ed963
100644
(file)
--- a/
drivers/mxc/vpu_malone/vpu_b0.c
+++ b/
drivers/mxc/vpu_malone/vpu_b0.c
@@
-1401,7
+1401,7
@@
static int v4l2_ioctl_reqbufs(struct file *file,
vpu_err("%s reqbufs (%d) during streaming\n",
q_data->type ? "CAPTURE" : "OUTPUT",
reqbuf->count);
- return -E
INVAL
;
+ return -E
BUSY
;
}
if (reqbuf->count > 0 && !q_data->sizeimage[0]) {