diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2017-08-02 05:20:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-11 00:27:55 +0300 |
commit | 4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e (patch) | |
tree | 277884885cce92190d9476499a87118005e602b5 /drivers/crypto/inside-secure/safexcel_hash.c | |
parent | 26ffca5ec406213da347cd3c5858d1414943caea (diff) | |
download | linux-4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e.tar.xz |
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/crypto/inside-secure/safexcel_hash.c')
0 files changed, 0 insertions, 0 deletions