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
e84d0ec9
Commit
e84d0ec9
authored
Jul 03, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpio.c: use printk not pr_debug form MPC dump
parent
84022266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gpio.c
gpio.c
+6
-6
No files found.
gpio.c
View file @
e84d0ec9
...
...
@@ -127,11 +127,11 @@ void fd_gpio_exit(struct spec_fd *fd)
int
fd_dump_mcp
(
struct
spec_fd
*
fd
)
{
pr
_debug
(
"MCP23S17 register dump
\n
"
);
pr
_debug
(
"IOCON: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IOCON
));
pr
_debug
(
"IODIRA: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IODIR
));
pr
_debug
(
"IODIRB: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IODIR
+
1
));
pr
_debug
(
"OLATA: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_OLAT
));
pr
_debug
(
"OLATB: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_OLAT
+
1
));
pr
intk
(
KERN_DEBUG
"MCP23S17 register dump
\n
"
);
pr
intk
(
KERN_DEBUG
"IOCON: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IOCON
));
pr
intk
(
KERN_DEBUG
"IODIRA: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IODIR
));
pr
intk
(
KERN_DEBUG
"IODIRB: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_IODIR
+
1
));
pr
intk
(
KERN_DEBUG
"OLATA: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_OLAT
));
pr
intk
(
KERN_DEBUG
"OLATB: 0x%02x
\n
"
,
gpio_readl
(
fd
,
FD_MCP_OLAT
+
1
));
return
0
;
}
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