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
Kirill Smelkov
linux
Commits
38dd2a40
Commit
38dd2a40
authored
Mar 14, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: add CONFIG_I2C_DEBUG_ALGO to be consistant.
parent
eb3b5324
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
drivers/i2c/Kconfig
drivers/i2c/Kconfig
+9
-0
drivers/i2c/algos/Makefile
drivers/i2c/algos/Makefile
+4
-0
drivers/i2c/algos/i2c-algo-bit.c
drivers/i2c/algos/i2c-algo-bit.c
+0
-2
drivers/i2c/algos/i2c-algo-pcf.c
drivers/i2c/algos/i2c-algo-pcf.c
+0
-2
No files found.
drivers/i2c/Kconfig
View file @
38dd2a40
...
@@ -46,6 +46,15 @@ config I2C_DEBUG_CORE
...
@@ -46,6 +46,15 @@ config I2C_DEBUG_CORE
messages to the system log. Select this if you are having a
messages to the system log. Select this if you are having a
problem with I2C support and want to see more of what is going on.
problem with I2C support and want to see more of what is going on.
config I2C_DEBUG_ALGO
bool "I2C Algorithm debugging messages"
depends on I2C
help
Say Y here if you want the I2C algorithm drivers to produce a bunch
of debug messages to the system log. Select this if you are having
a problem with I2C support and want to see more of what is going
on.
config I2C_DEBUG_BUS
config I2C_DEBUG_BUS
bool "I2C Bus debugging messages"
bool "I2C Bus debugging messages"
depends on I2C
depends on I2C
...
...
drivers/i2c/algos/Makefile
View file @
38dd2a40
...
@@ -5,3 +5,7 @@
...
@@ -5,3 +5,7 @@
obj-$(CONFIG_I2C_ALGOBIT)
+=
i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOBIT)
+=
i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF)
+=
i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOPCF)
+=
i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOITE)
+=
i2c-algo-ite.o
obj-$(CONFIG_I2C_ALGOITE)
+=
i2c-algo-ite.o
ifeq
($(CONFIG_I2C_DEBUG_ALGO),y)
EXTRA_CFLAGS
+=
-DDEBUG
endif
drivers/i2c/algos/i2c-algo-bit.c
View file @
38dd2a40
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
/* With some changes from Frodo Looijaard <frodol@dds.nl>, Kysti Mlkki
/* With some changes from Frodo Looijaard <frodol@dds.nl>, Kysti Mlkki
<kmalkki@cc.hut.fi> and Jean Delvare <khali@linux-fr.org> */
<kmalkki@cc.hut.fi> and Jean Delvare <khali@linux-fr.org> */
/* #define DEBUG 1 */
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/delay.h>
...
...
drivers/i2c/algos/i2c-algo-pcf.c
View file @
38dd2a40
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
messages, proper stop/repstart signaling during receive,
messages, proper stop/repstart signaling during receive,
added detect code */
added detect code */
/* #define DEBUG 1 */
/* to pick up dev_dbg calls */
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/delay.h>
...
...
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