diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2017-08-01 21:20:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-10 14:27:55 -0700 |
commit | 4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e (patch) | |
tree | 277884885cce92190d9476499a87118005e602b5 /drivers/platform/x86/dell-wmi.c | |
parent | 26ffca5ec406213da347cd3c5858d1414943caea (diff) | |
download | linux-4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e.tar.bz2 |
fpga: altera-hps2fpga: fix multiple init of l3_remap_lock
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: e5f8efa5c8bf ("ARM: socfpga: fpga bridge driver support")
Cc: <stable@vger.kernel.org> # 4.10+
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>
Diffstat (limited to 'drivers/platform/x86/dell-wmi.c')
0 files changed, 0 insertions, 0 deletions