Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6ea23039 authored by Jiri Kosina's avatar Jiri Kosina Committed by Jean Delvare
Browse files

i2c: Add support for nested i2c bus locking



This patch adds the 'level' field into the i2c_adapter structure, which is 
used to represent the 'logical' level of nesting for the purposes of 
lockdep. This field is then used in the i2c_transfer() function, to 
acquire the per-adapter bus_lock with correct nesting level.

Signed-off-by: default avatarJiri Kosina <jikos@jikos.cz>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent ad04d5c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment