Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha
Commits
75e4ee4b
Commit
75e4ee4b
authored
May 15, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd-zio: remove no more neded printk
parent
3465f98f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
fd-zio.c
fd-zio.c
+0
-2
No files found.
fd-zio.c
View file @
75e4ee4b
...
@@ -443,13 +443,11 @@ static int fd_read_fifo(struct spec_fd *fd, struct zio_channel *chan)
...
@@ -443,13 +443,11 @@ static int fd_read_fifo(struct spec_fd *fd, struct zio_channel *chan)
/* The coarse count may be negative, because of how it works */
/* The coarse count may be negative, because of how it works */
if
(
t
.
coarse
&
(
1
<<
27
))
{
// coarse is 28 bits
if
(
t
.
coarse
&
(
1
<<
27
))
{
// coarse is 28 bits
printk
(
"%i (%x)
\n
"
,
t
.
coarse
,
t
.
coarse
);
/* we may get 0xfff.ffef..0xffff.ffff -- 125M == 0x773.5940 */
/* we may get 0xfff.ffef..0xffff.ffff -- 125M == 0x773.5940 */
t
.
coarse
+=
125000000
;
t
.
coarse
+=
125000000
;
t
.
coarse
&=
0xfffffff
;
t
.
coarse
&=
0xfffffff
;
t
.
utc
--
;
t
.
utc
--
;
}
else
if
(
t
.
coarse
>
125000000
)
{
}
else
if
(
t
.
coarse
>
125000000
)
{
printk
(
"%i (%x)
\n
"
,
t
.
coarse
,
t
.
coarse
);
t
.
coarse
-=
125000000
;
t
.
coarse
-=
125000000
;
t
.
utc
++
;
t
.
utc
++
;
}
}
...
...
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