Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
20ae6a07
Commit
20ae6a07
authored
Nov 19, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
davinci_vpfe: cast to correct types.
parent
7307837a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/media/video/davinci_vpfe.c
drivers/media/video/davinci_vpfe.c
+5
-5
No files found.
drivers/media/video/davinci_vpfe.c
View file @
20ae6a07
...
...
@@ -890,23 +890,23 @@ static int vpfe_doioctl(struct inode *inode, struct file *file,
fh
->
io_allowed
=
TRUE
;
vpfe
->
io_usrs
=
1
;
INIT_LIST_HEAD
(
&
vpfe
->
dma_queue
);
ret
=
videobuf_reqbufs
(
&
vpfe
->
bufqueue
,
arg
);
ret
=
videobuf_reqbufs
(
&
vpfe
->
bufqueue
,
(
struct
v4l2_requestbuffers
*
)
arg
);
up
(
&
vpfe
->
lock
);
break
;
case
VIDIOC_QUERYBUF
:
ret
=
videobuf_querybuf
(
&
vpfe
->
bufqueue
,
arg
);
ret
=
videobuf_querybuf
(
&
vpfe
->
bufqueue
,
(
struct
v4l2_buffer
*
)
arg
);
break
;
case
VIDIOC_QBUF
:
if
(
!
fh
->
io_allowed
)
ret
=
-
EACCES
;
else
ret
=
videobuf_qbuf
(
&
vpfe
->
bufqueue
,
arg
);
ret
=
videobuf_qbuf
(
&
vpfe
->
bufqueue
,
(
struct
v4l2_buffer
*
)
arg
);
break
;
case
VIDIOC_DQBUF
:
if
(
!
fh
->
io_allowed
)
ret
=
-
EACCES
;
else
ret
=
videobuf_dqbuf
(
&
vpfe
->
bufqueue
,
arg
,
0
);
ret
=
videobuf_dqbuf
(
&
vpfe
->
bufqueue
,
(
struct
v4l2_buffer
*
)
arg
,
file
->
f_flags
&
O_NONBLOCK
);
break
;
case
VIDIOC_STREAMON
:
if
(
!
fh
->
io_allowed
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment