Skip to content
Commit fb79e09a authored by Peter Rosin's avatar Peter Rosin Committed by Wolfram Sang
Browse files

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: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 00f0ea70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment