Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
84f1b678
Commit
84f1b678
authored
Jan 20, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (5107): Use cx88_set_freq() on cx88-blackbird.c
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
1571720c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
drivers/media/video/cx88/cx88-blackbird.c
drivers/media/video/cx88/cx88-blackbird.c
+1
-18
No files found.
drivers/media/video/cx88/cx88-blackbird.c
View file @
84f1b678
...
@@ -963,24 +963,7 @@ static int mpeg_do_ioctl(struct inode *inode, struct file *file,
...
@@ -963,24 +963,7 @@ static int mpeg_do_ioctl(struct inode *inode, struct file *file,
BLACKBIRD_MPEG_CAPTURE
,
BLACKBIRD_MPEG_CAPTURE
,
BLACKBIRD_RAW_BITS_NONE
);
BLACKBIRD_RAW_BITS_NONE
);
if
(
UNSET
==
core
->
tuner_type
)
cx88_set_freq
(
core
,
f
);
return
-
EINVAL
;
if
(
f
->
tuner
!=
0
)
return
-
EINVAL
;
if
(
0
==
radio
&&
f
->
type
!=
V4L2_TUNER_ANALOG_TV
)
return
-
EINVAL
;
if
(
1
==
radio
&&
f
->
type
!=
V4L2_TUNER_RADIO
)
return
-
EINVAL
;
mutex_lock
(
&
core
->
lock
);
core
->
freq
=
f
->
frequency
;
cx88_newstation
(
core
);
cx88_call_i2c_clients
(
core
,
VIDIOC_S_FREQUENCY
,
f
);
/* When changing channels it is required to reset TVAUDIO */
msleep
(
10
);
cx88_set_tvaudio
(
core
);
mutex_unlock
(
&
core
->
lock
);
blackbird_initialize_codec
(
dev
);
blackbird_initialize_codec
(
dev
);
cx88_set_scale
(
dev
->
core
,
dev
->
width
,
dev
->
height
,
cx88_set_scale
(
dev
->
core
,
dev
->
width
,
dev
->
height
,
...
...
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