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
207705cd
Commit
207705cd
authored
Nov 20, 2006
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (4860): Optimization of v4l1 handling
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
7964b1b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
drivers/media/video/videodev.c
drivers/media/video/videodev.c
+5
-6
No files found.
drivers/media/video/videodev.c
View file @
207705cd
...
@@ -428,6 +428,10 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
...
@@ -428,6 +428,10 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
v4l_print_ioctl
(
vfd
->
name
,
cmd
);
v4l_print_ioctl
(
vfd
->
name
,
cmd
);
}
}
if
(
_IOC_TYPE
(
cmd
)
==
'v'
)
return
v4l_compat_translate_ioctl
(
inode
,
file
,
cmd
,
arg
,
__video_do_ioctl
);
switch
(
cmd
)
{
switch
(
cmd
)
{
/* --- capabilities ------------------------------------------ */
/* --- capabilities ------------------------------------------ */
case
VIDIOC_QUERYCAP
:
case
VIDIOC_QUERYCAP
:
...
@@ -1409,12 +1413,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
...
@@ -1409,12 +1413,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
ret
=
vfd
->
vidioc_log_status
(
file
,
fh
);
ret
=
vfd
->
vidioc_log_status
(
file
,
fh
);
break
;
break
;
}
}
}
/* switch */
/* --- Others --------------------------------------------- */
default:
ret
=
v4l_compat_translate_ioctl
(
inode
,
file
,
cmd
,
arg
,
__video_do_ioctl
);
}
if
(
vfd
->
debug
&
V4L2_DEBUG_IOCTL_ARG
)
{
if
(
vfd
->
debug
&
V4L2_DEBUG_IOCTL_ARG
)
{
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
...
...
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