diff options
author | 2018-02-12 15:45:41 +1030 | |
---|---|---|
committer | 2018-03-14 19:11:00 +0100 | |
commit | 29d9b9271184dac6d981fc85b25afb8ae0ff0204 (patch) | |
tree | 137cb1355e2ac358438f171eb2fff3bf2571056d /drivers/fpga/altera-cvp.c | |
parent | fsi: Add fsi_master_rescan() (diff) | |
download | linux-rng-29d9b9271184dac6d981fc85b25afb8ae0ff0204.tar.xz linux-rng-29d9b9271184dac6d981fc85b25afb8ae0ff0204.zip |
fsi: master-gpio: Add locking during break and link enable
Currently, we perform GPIO accesses in fsi_master_gpio_break and
fsi_master_link_enable, without holding cmd_lock. This change adds the
appropriate locking.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Christopher Bostic <clbostic@linux.vnet.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/altera-cvp.c')
0 files changed, 0 insertions, 0 deletions