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
c79c9fb3
Commit
c79c9fb3
authored
Dec 22, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] dib0070: Remove unused dvb_frontend_parameters
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
f40d0f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/media/dvb/frontends/dib0070.c
drivers/media/dvb/frontends/dib0070.c
+4
-4
No files found.
drivers/media/dvb/frontends/dib0070.c
View file @
c79c9fb3
...
@@ -150,7 +150,7 @@ static int dib0070_write_reg(struct dib0070_state *state, u8 reg, u16 val)
...
@@ -150,7 +150,7 @@ static int dib0070_write_reg(struct dib0070_state *state, u8 reg, u16 val)
} \
} \
} while (0)
} while (0)
static
int
dib0070_set_bandwidth
(
struct
dvb_frontend
*
fe
,
struct
dvb_frontend_parameters
*
ch
)
static
int
dib0070_set_bandwidth
(
struct
dvb_frontend
*
fe
)
{
{
struct
dib0070_state
*
state
=
fe
->
tuner_priv
;
struct
dib0070_state
*
state
=
fe
->
tuner_priv
;
u16
tmp
=
dib0070_read_reg
(
state
,
0x02
)
&
0x3fff
;
u16
tmp
=
dib0070_read_reg
(
state
,
0x02
)
&
0x3fff
;
...
@@ -335,7 +335,7 @@ static const struct dib0070_lna_match dib0070_lna[] = {
...
@@ -335,7 +335,7 @@ static const struct dib0070_lna_match dib0070_lna[] = {
};
};
#define LPF 100
#define LPF 100
static
int
dib0070_tune_digital
(
struct
dvb_frontend
*
fe
,
struct
dvb_frontend_parameters
*
ch
)
static
int
dib0070_tune_digital
(
struct
dvb_frontend
*
fe
)
{
{
struct
dib0070_state
*
state
=
fe
->
tuner_priv
;
struct
dib0070_state
*
state
=
fe
->
tuner_priv
;
...
@@ -507,7 +507,7 @@ static int dib0070_tune_digital(struct dvb_frontend *fe, struct dvb_frontend_par
...
@@ -507,7 +507,7 @@ static int dib0070_tune_digital(struct dvb_frontend *fe, struct dvb_frontend_par
*
tune_state
=
CT_TUNER_STEP_5
;
*
tune_state
=
CT_TUNER_STEP_5
;
}
else
if
(
*
tune_state
==
CT_TUNER_STEP_5
)
{
}
else
if
(
*
tune_state
==
CT_TUNER_STEP_5
)
{
dib0070_set_bandwidth
(
fe
,
ch
);
dib0070_set_bandwidth
(
fe
);
*
tune_state
=
CT_TUNER_STOP
;
*
tune_state
=
CT_TUNER_STOP
;
}
else
{
}
else
{
ret
=
FE_CALLBACK_TIME_NEVER
;
/* tuner finished, time to call again infinite */
ret
=
FE_CALLBACK_TIME_NEVER
;
/* tuner finished, time to call again infinite */
...
@@ -524,7 +524,7 @@ static int dib0070_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters
...
@@ -524,7 +524,7 @@ static int dib0070_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters
state
->
tune_state
=
CT_TUNER_START
;
state
->
tune_state
=
CT_TUNER_START
;
do
{
do
{
ret
=
dib0070_tune_digital
(
fe
,
p
);
ret
=
dib0070_tune_digital
(
fe
);
if
(
ret
!=
FE_CALLBACK_TIME_NEVER
)
if
(
ret
!=
FE_CALLBACK_TIME_NEVER
)
msleep
(
ret
/
10
);
msleep
(
ret
/
10
);
else
else
...
...
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