diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-12-08 11:37:00 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-18 15:59:16 +0100 |
commit | d9cc5a0edb705ced4ce91b4c6ee73ec6f5bfa49a (patch) | |
tree | ef9dc53ec47e5fa5217452238857d4b6bc9263e2 /drivers/char/mem.c | |
parent | 8d52af6795c0480a20272159103976a893603fde (diff) | |
download | lwn-d9cc5a0edb705ced4ce91b4c6ee73ec6f5bfa49a.tar.gz lwn-d9cc5a0edb705ced4ce91b4c6ee73ec6f5bfa49a.zip |
fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()
If fpga_mgr_register() fails, a clock is left undisabled.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
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/char/mem.c')
0 files changed, 0 insertions, 0 deletions