]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Add an interface to lock/unlock an I2C bus segment
authorJean Delvare <khali@linux-fr.org>
Sat, 7 Nov 2009 12:10:46 +0000 (13:10 +0100)
committerJean Delvare <khali@linux-fr.org>
Sat, 7 Nov 2009 12:10:46 +0000 (13:10 +0100)
commit2de3fa4e4c591fedd61a42e3355b908cb59a298a
treeb649e06dc4cb9fa10b87f1914f05c6ca2ba0d910
parentc96b52d4028c25be082e2d138e30c4a55b6c24ab
i2c: Add an interface to lock/unlock an I2C bus segment

Some drivers need to be able to prevent access to an I2C bus segment
for a specific period of time. Add an interface for them to do so
without twiddling with i2c-core internals.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/sfe4001.c
include/linux/i2c.h