summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-05-24 08:14:24 +0300
committerJoel Stanley <joel@jms.id.au>2018-05-25 08:41:42 +0300
commitb5e73c18ecdc88378f9c6461c4832fcaf7fc6571 (patch)
tree167a685a355ee21e531dc9abf4cb93c9f0103006 /include/linux/fpga/fpga-mgr.h
parent3fe360b9ae4a6caea64992eefc0d37e1c8e0ba94 (diff)
downloadlinux-b5e73c18ecdc88378f9c6461c4832fcaf7fc6571.tar.xz
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. OpenBMC-Staging-Count: 1 Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions