From: Jean Delvare Date: Fri, 19 Jun 2009 14:58:19 +0000 (+0200) Subject: i2c: Limit core locking to the necessary sections X-Git-Tag: v2.6.31-rc1~107^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35fc37f8188177e3ba3e7f99a6e3300e490e9181;p=pandora-kernel.git 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 Tested-by: Rodolfo Giometti Cc: David Brownell --- Reading git-diff-tree failed