commit | fb79e09a74faf39fbeee975e0ead442b7b7f6aac | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Wed Jun 29 15:04:03 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Aug 25 18:02:14 2016 +0200 |
tree | 465679257bdac8b169b5e5d20b17aabbd9859aef | |
parent | 00f0ea70d2b82b7d7afeb1bdedc9169eb8ea6675 [diff] |
i2c: add i2c_trylock_bus wrapper, use it This unifies usage with i2c_lock_bus and i2c_unlock_bus, and paves the way for the next patch which looks a bit saner with this preparatory work taken care of beforehand. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>