commit | f4cdc319cff88eb83564a5466c15af8128dd8284 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.vnet.ibm.com> | Tue Jul 17 10:31:04 2018 -0500 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Jul 21 00:07:09 2018 +0200 |
tree | ee489452736ba045c38da354338f1b632ba34096 | |
parent | 504b82773c074e88423e17b9a069ac9a07df02d6 [diff] |
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: Eddie James <eajames@linux.vnet.ibm.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>