summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-05-24 11:29:56 +0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-12 14:05:28 +1000
commit26d79b272d388e2180d93d01b4085208c028f79a (patch)
treec055875bb46f3adc9c788049aa2fc5a9ab94e2f1 /drivers/spi
parentc49e34401a32acc05bafec2b3d28d8e58410724c (diff)
downloadlinux-26d79b272d388e2180d93d01b4085208c028f79a.tar.bz2
fsi/master-gpio: Replace bit_bit lock with IRQ disable/enable
We currently use a spinlock (bit_lock) around operations that clock bits out of the FSI bus, and a mutex to protect against simultaneous access to the master. This means that bit_lock isn't needed for mutual exlusion, only to prevent timing issues when clocking bits out. To reflect this, this change converts bit_lock to just the local_irq_save/restore operation. 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>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions