linux/drivers/fpga
Ian Abbott 328082ebd9 fpga: altera-hps2fpga: fix multiple init of l3_remap_lock
commit 4ae2bd4b3a upstream.

The global spinlock `l3_remap_lock` is reinitialized every time the
"probe" function `alt_fpga_bridge_probe()` is called.  It should only be
initialized once.  Use `DEFINE_SPINLOCK()` to initialize it statically.

Fixes: e5f8efa5c8 ("ARM: socfpga: fpga bridge driver support")
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-By: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-09-09 17:39:23 +02:00
..
altera-fpga2sdram.c ARM: socfpga: checking the wrong variable 2016-11-17 08:14:55 +01:00
altera-freeze-bridge.c fpga fr br: update supported version numbers 2017-04-26 11:38:56 +02:00
altera-hps2fpga.c fpga: altera-hps2fpga: fix multiple init of l3_remap_lock 2017-09-09 17:39:23 +02:00
altera-pr-ip-core-plat.c fpga pr ip: Platform driver for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
altera-pr-ip-core.c fpga pr ip: Core driver support for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
fpga-bridge.c fpga: bridge: Replace open-coded list_for_each + list_entry 2017-03-17 15:10:48 +09:00
fpga-mgr.c fpga: fix sparse warnings in fpga-mgr and fpga-bridge 2017-03-17 15:10:48 +09:00
fpga-region.c fpga: region: release FPGA region reference in error path 2017-04-26 11:38:56 +02:00
ice40-spi.c fpga: Add support for Lattice iCE40 FPGAs 2017-03-17 15:10:48 +09:00
Kconfig fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
Makefile fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
socfpga-a10.c fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00
socfpga.c fpga-mgr: add fpga image information struct 2016-11-10 17:03:35 +01:00
ts73xx-fpga.c FPGA: Add TS-7300 FPGA manager 2017-03-17 15:10:48 +09:00
xilinx-pr-decoupler.c fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
xilinx-spi.c fpga manager: Add Xilinx slave serial SPI driver 2017-04-08 17:45:28 +02:00
zynq-fpga.c fpga: zynq: Add support for encrypted bitstreams 2017-03-17 15:10:48 +09:00