Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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 - Software
Commits
6155e5de
Commit
6155e5de
authored
May 04, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd_wr_mode: don't write GCR, that would disable input
parent
ff9e552f
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 @
6155e5de
...
...
@@ -119,11 +119,9 @@ static int fd_zio_info_tdc(struct device *dev, struct zio_attribute *zattr,
static
int
fd_wr_mode
(
struct
spec_fd
*
fd
,
int
on
)
{
if
(
on
)
{
fd_writel
(
fd
,
0
,
FD_REG_GCR
);
fd_writel
(
fd
,
FD_TCR_WR_ENABLE
,
FD_REG_TCR
);
set_bit
(
FD_FLAG_WR_MODE
,
&
fd
->
flags
);
}
else
{
fd_writel
(
fd
,
0
,
FD_REG_GCR
);
fd_writel
(
fd
,
0
,
FD_REG_TCR
);
clear_bit
(
FD_FLAG_WR_MODE
,
&
fd
->
flags
);
}
...
...
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