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
7fc7356f
Commit
7fc7356f
authored
Mar 25, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] drxd: Fix some CodingStyle issues
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
bccd2d8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
drivers/media/dvb/frontends/drxd.h
drivers/media/dvb/frontends/drxd.h
+1
-1
drivers/media/dvb/frontends/drxd_firm.c
drivers/media/dvb/frontends/drxd_firm.c
+4
-4
drivers/media/dvb/frontends/drxd_hard.c
drivers/media/dvb/frontends/drxd_hard.c
+0
-4
No files found.
drivers/media/dvb/frontends/drxd.h
View file @
7fc7356f
...
...
@@ -49,7 +49,7 @@ struct drxd_config {
u32
IF
;
int
(
*
pll_set
)
(
void
*
priv
,
void
*
priv_params
,
u8
pll_addr
,
u8
demoda_addr
,
s32
*
off
);
u8
pll_addr
,
u8
demoda_addr
,
s32
*
off
);
s16
(
*
osc_deviation
)
(
void
*
priv
,
s16
dev
,
int
flag
);
};
...
...
drivers/media/dvb/frontends/drxd_firm.c
View file @
7fc7356f
...
...
@@ -36,10 +36,10 @@
/* Is written via block write, must be little endian */
#define DATA16(x) ((x) & 0xFF), (((x)>>8) & 0xFF)
#define WRBLOCK(a,
l) ADDRESS(a),
LENGTH(l)
#define WR16(a,
d) ADDRESS(a),LENGTH(1),
DATA16(d)
#define WRBLOCK(a,
l) ADDRESS(a),
LENGTH(l)
#define WR16(a,
d) ADDRESS(a), LENGTH(1),
DATA16(d)
#define END_OF_TABLE 0xFF,
0xFF,0xFF,
0xFF
#define END_OF_TABLE 0xFF,
0xFF, 0xFF,
0xFF
/* HI firmware patches */
...
...
@@ -63,7 +63,7 @@ u8 DRXD_InitAtomicRead[] = {
/* Pins D0 and D1 of the parallel MPEG output can be used
to set the I2C address of a device. */
#define HI_RST_FUNC_ADDR (
HI_IF_RAM_USR_BEGIN__A + HI_TR_FUNC_SIZE)
#define HI_RST_FUNC_ADDR (HI_IF_RAM_USR_BEGIN__A + HI_TR_FUNC_SIZE)
#define HI_RST_FUNC_SIZE 54
/* size of this function in instruction words */
/* D0 Version */
...
...
drivers/media/dvb/frontends/drxd_hard.c
View file @
7fc7356f
...
...
@@ -2782,12 +2782,8 @@ struct dvb_frontend *drxd_attach(const struct drxd_config *config,
if
(
Read16
(
state
,
0
,
0
,
0
)
<
0
)
goto
error
;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
state
->
frontend
.
ops
=
&
state
->
ops
;
#else
memcpy
(
&
state
->
frontend
.
ops
,
&
drxd_ops
,
sizeof
(
struct
dvb_frontend_ops
));
#endif
state
->
frontend
.
demodulator_priv
=
state
;
ConfigureMPEGOutput
(
state
,
0
);
return
&
state
->
frontend
;
...
...
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