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
25ebc2f4
Commit
25ebc2f4
authored
Jun 18, 2010
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'staging-next' into work
parents
cb3126e6
2e04bb7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/staging/winbond/phy_calibration.c
drivers/staging/winbond/phy_calibration.c
+2
-3
No files found.
drivers/staging/winbond/phy_calibration.c
View file @
25ebc2f4
...
@@ -32,7 +32,7 @@ static const s32 Angles[] = {
...
@@ -32,7 +32,7 @@ static const s32 Angles[] = {
FIXED
(
DEG2RAD
(
0
.
111906
)),
FIXED
(
DEG2RAD
(
0
.
055
953
)),
FIXED
(
DEG2RAD
(
0
.
027
977
))
FIXED
(
DEG2RAD
(
0
.
111906
)),
FIXED
(
DEG2RAD
(
0
.
055
953
)),
FIXED
(
DEG2RAD
(
0
.
027
977
))
};
};
/****************** LOCAL FUNCTION DECLARATION SECTION **********************
/****************** LOCAL FUNCTION DECLARATION SECTION **********************
/
/*
/*
* void _phy_rf_write_delay(struct hw_data *phw_data);
* void _phy_rf_write_delay(struct hw_data *phw_data);
...
@@ -142,7 +142,6 @@ u32 _s32_to_s6(s32 data)
...
@@ -142,7 +142,6 @@ u32 _s32_to_s6(s32 data)
data
=
31
;
data
=
31
;
else
if
(
data
<
-
32
)
else
if
(
data
<
-
32
)
data
=
-
32
;
data
=
-
32
;
}
val
=
data
&
0x003F
;
val
=
data
&
0x003F
;
...
@@ -1496,7 +1495,7 @@ void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency)
...
@@ -1496,7 +1495,7 @@ void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency)
/******************/
/******************/
void
phy_set_rf_data
(
struct
hw_data
*
pHwData
,
u32
index
,
u32
value
)
void
phy_set_rf_data
(
struct
hw_data
*
pHwData
,
u32
index
,
u32
value
)
{
{
u32
ltmp
i
=
0
;
u32
ltmp
=
0
;
switch
(
pHwData
->
phy_type
)
{
switch
(
pHwData
->
phy_type
)
{
case
RF_MAXIM_2825
:
case
RF_MAXIM_2825
:
...
...
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