Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d74cb25e
Commit
d74cb25e
authored
Nov 24, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (6672): Add support for radio
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
00deff1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
drivers/media/video/tuner-xc2028.c
drivers/media/video/tuner-xc2028.c
+8
-0
drivers/media/video/tuner-xc2028.h
drivers/media/video/tuner-xc2028.h
+3
-2
No files found.
drivers/media/video/tuner-xc2028.c
View file @
d74cb25e
...
@@ -891,6 +891,14 @@ static int xc2028_set_analog_freq(struct dvb_frontend *fe,
...
@@ -891,6 +891,14 @@ static int xc2028_set_analog_freq(struct dvb_frontend *fe,
tuner_dbg
(
"%s called
\n
"
,
__FUNCTION__
);
tuner_dbg
(
"%s called
\n
"
,
__FUNCTION__
);
if
(
p
->
mode
==
V4L2_TUNER_RADIO
)
{
type
|=
FM
;
if
(
priv
->
ctrl
.
input1
)
type
|=
INPUT1
;
return
generic_set_freq
(
fe
,
(
625l
*
p
->
frequency
)
/
10
,
T_ANALOG_TV
,
type
,
0
);
}
/* if std is not defined, choose one */
/* if std is not defined, choose one */
if
(
!
p
->
std
)
if
(
!
p
->
std
)
p
->
std
=
V4L2_STD_MN
;
p
->
std
=
V4L2_STD_MN
;
...
...
drivers/media/video/tuner-xc2028.h
View file @
d74cb25e
...
@@ -16,7 +16,8 @@ struct xc2028_ctrl {
...
@@ -16,7 +16,8 @@ struct xc2028_ctrl {
int
max_len
;
int
max_len
;
unsigned
int
scode_table
;
unsigned
int
scode_table
;
unsigned
int
mts
:
1
;
unsigned
int
mts
:
1
;
unsigned
int
d2633
:
1
;
unsigned
int
d2633
:
1
;
unsigned
int
input1
:
1
;
};
};
struct
xc2028_config
{
struct
xc2028_config
{
...
...
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