commit | 35fc37f8188177e3ba3e7f99a6e3300e490e9181 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Jun 19 16:58:19 2009 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Fri Jun 19 16:58:19 2009 +0200 |
tree | ed2e7f589cb33b0b8bb81aa0a7958c3d6c0cb002 | |
parent | e549c2b54dd90a056d6824b885d438b7437874f0 [diff] |
i2c: Limit core locking to the necessary sections The i2c-core code tends to hold the core lock for longer than it should. Limit locking to the necessary sections for both performance and clarity. This is also a requirement to support I2C multiplexers in the future. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Rodolfo Giometti <giometti@linux.it> Cc: David Brownell <dbrownell@users.sourceforge.net>