i2c: fsi: Add I2C master locking
Since there are many ports per master, each with it's own adapter and chardev, we need some locking to prevent transfers from changing the master state while other transfers are in progress. Signed-off-by: NEddie James <eajames@linux.vnet.ibm.com> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Tested-by: NJoel Stanley <joel@jms.id.au> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录