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
2eba5cc9
Commit
2eba5cc9
authored
Feb 03, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: fix oops when CONFIG_I2C_DEBUG_CORE is enabled and the bttv driver is loaded.
parent
b3da5fff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/i2c/i2c-core.c
drivers/i2c/i2c-core.c
+1
-1
No files found.
drivers/i2c/i2c-core.c
View file @
2eba5cc9
...
@@ -598,7 +598,7 @@ int i2c_master_recv(struct i2c_client *client, char *buf ,int count)
...
@@ -598,7 +598,7 @@ int i2c_master_recv(struct i2c_client *client, char *buf ,int count)
ret
=
adap
->
algo
->
master_xfer
(
adap
,
&
msg
,
1
);
ret
=
adap
->
algo
->
master_xfer
(
adap
,
&
msg
,
1
);
up
(
&
adap
->
bus_lock
);
up
(
&
adap
->
bus_lock
);
dev_dbg
(
&
client
->
dev
,
"master_recv: return:%d (count:%d, addr:0x%02x)
\n
"
,
dev_dbg
(
&
client
->
adapter
->
dev
,
"master_recv: return:%d (count:%d, addr:0x%02x)
\n
"
,
ret
,
count
,
client
->
addr
);
ret
,
count
,
client
->
addr
);
/* if everything went ok (i.e. 1 msg transmitted), return #bytes
/* if everything went ok (i.e. 1 msg transmitted), return #bytes
...
...
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