diff options
| author | Jiri Kosina <[email protected]> | 2006-12-10 20:21:30 +0000 |
|---|---|---|
| committer | Jean Delvare <[email protected]> | 2006-12-10 20:21:30 +0000 |
| commit | 6ea23039cb1cc7c379eb5fba0ed2c53291e9bea7 (patch) | |
| tree | c22887d242a0c3813789c63c4db2fd59b1f3ef7e /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c: Cleanups to the i2c-nforce2 bus driver (diff) | |
| download | kernel-6ea23039cb1cc7c379eb5fba0ed2c53291e9bea7.tar.gz kernel-6ea23039cb1cc7c379eb5fba0ed2c53291e9bea7.zip | |
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: Jiri Kosina <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
