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
759e236c
Commit
759e236c
authored
Dec 22, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] dib9000: remove unused parameters
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
c1f814f4
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/dib9000.c
drivers/media/dvb/frontends/dib9000.c
+4
-4
No files found.
drivers/media/dvb/frontends/dib9000.c
View file @
759e236c
...
@@ -1136,7 +1136,7 @@ static int dib9000_fw_init(struct dib9000_state *state)
...
@@ -1136,7 +1136,7 @@ static int dib9000_fw_init(struct dib9000_state *state)
return
0
;
return
0
;
}
}
static
void
dib9000_fw_set_channel_head
(
struct
dib9000_state
*
state
,
struct
dvb_frontend_parameters
*
ch
)
static
void
dib9000_fw_set_channel_head
(
struct
dib9000_state
*
state
)
{
{
u8
b
[
9
];
u8
b
[
9
];
u32
freq
=
state
->
fe
[
0
]
->
dtv_property_cache
.
frequency
/
1000
;
u32
freq
=
state
->
fe
[
0
]
->
dtv_property_cache
.
frequency
/
1000
;
...
@@ -1157,7 +1157,7 @@ static void dib9000_fw_set_channel_head(struct dib9000_state *state, struct dvb_
...
@@ -1157,7 +1157,7 @@ static void dib9000_fw_set_channel_head(struct dib9000_state *state, struct dvb_
dib9000_risc_mem_write
(
state
,
FE_MM_W_CHANNEL_HEAD
,
b
);
dib9000_risc_mem_write
(
state
,
FE_MM_W_CHANNEL_HEAD
,
b
);
}
}
static
int
dib9000_fw_get_channel
(
struct
dvb_frontend
*
fe
,
struct
dvb_frontend_parameters
*
channel
)
static
int
dib9000_fw_get_channel
(
struct
dvb_frontend
*
fe
)
{
{
struct
dib9000_state
*
state
=
fe
->
demodulator_priv
;
struct
dib9000_state
*
state
=
fe
->
demodulator_priv
;
struct
dibDVBTChannel
{
struct
dibDVBTChannel
{
...
@@ -1462,7 +1462,7 @@ static int dib9000_fw_tune(struct dvb_frontend *fe, struct dvb_frontend_paramete
...
@@ -1462,7 +1462,7 @@ static int dib9000_fw_tune(struct dvb_frontend *fe, struct dvb_frontend_paramete
switch
(
state
->
tune_state
)
{
switch
(
state
->
tune_state
)
{
case
CT_DEMOD_START
:
case
CT_DEMOD_START
:
dib9000_fw_set_channel_head
(
state
,
ch
);
dib9000_fw_set_channel_head
(
state
);
/* write the channel context - a channel is initialized to 0, so it is OK */
/* write the channel context - a channel is initialized to 0, so it is OK */
dib9000_risc_mem_write
(
state
,
FE_MM_W_CHANNEL_CONTEXT
,
(
u8
*
)
fe_info
);
dib9000_risc_mem_write
(
state
,
FE_MM_W_CHANNEL_CONTEXT
,
(
u8
*
)
fe_info
);
...
@@ -1911,7 +1911,7 @@ static int dib9000_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
...
@@ -1911,7 +1911,7 @@ static int dib9000_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
}
}
/* get the channel from master chip */
/* get the channel from master chip */
ret
=
dib9000_fw_get_channel
(
fe
,
fep
);
ret
=
dib9000_fw_get_channel
(
fe
);
if
(
ret
!=
0
)
if
(
ret
!=
0
)
goto
return_value
;
goto
return_value
;
...
...
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