commit | afa08974fe80c198b8650f73ed8ab59135ca10d0 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sat Nov 07 13:10:46 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Sat Nov 07 13:10:46 2009 +0100 |
tree | b649e06dc4cb9fa10b87f1914f05c6ca2ba0d910 | |
parent | 3806e94b0148350c72f9a3214274026b6ca03f49 [diff] |
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>