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
nexedi
linux
Commits
1e73fa5d
Commit
1e73fa5d
authored
Dec 31, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] stb6100: Properly retrieve symbol rate
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
e97a5d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/media/dvb/frontends/stb6100.c
drivers/media/dvb/frontends/stb6100.c
+2
-2
No files found.
drivers/media/dvb/frontends/stb6100.c
View file @
1e73fa5d
...
...
@@ -327,7 +327,7 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
int
rc
;
const
struct
stb6100_lkup
*
ptr
;
struct
stb6100_state
*
state
=
fe
->
tuner_priv
;
struct
dtv_frontend_properties
p
;
struct
dtv_frontend_properties
*
p
=
&
fe
->
dtv_property_cache
;
u32
srate
=
0
,
fvco
,
nint
,
nfrac
;
u8
regs
[
STB6100_NUMREGS
];
...
...
@@ -339,7 +339,7 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
dprintk
(
verbose
,
FE_DEBUG
,
1
,
"Get frontend parameters"
);
fe
->
ops
.
get_frontend
(
fe
);
}
srate
=
p
.
symbol_rate
;
srate
=
p
->
symbol_rate
;
/* Set up tuner cleanly, LPF calibration on */
rc
=
stb6100_write_reg
(
state
,
STB6100_FCCK
,
0x4d
|
STB6100_FCCK_FCCK
);
...
...
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