commit | e5538139e043bcae133da1e55f02b0646eb601fa | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Tue Feb 20 14:48:44 2018 +1030 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jun 12 14:04:26 2018 +1000 |
tree | 7f448d4c9f367d8333e85312d551e279f5f1e612 | |
parent | e212ab47bd029466ad758a24831e3046a34ebda1 [diff] |
fsi: gpio: Use a mutex to protect transfers Reduce time spent with interrupts disabled by limiting the critical sections to bitbanging FSI symbols. We only need to ensure exclusive use of the bus for an entire transfer, not that the transfer be performed in atomic context. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Tested-by: Joel Stanley <joel@jms.id.au>