commit | 122c5770cff2c1df1a2384b68285be2812cd72c1 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Wed Jun 27 20:56:18 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jul 07 16:55:22 2018 +0200 |
tree | 817c78722f8b85c440a7661dcbdb17e85409fd40 | |
parent | a0341fc1981a950c1e902ab901e98f60e0e243f3 [diff] |
fpga: altera-cvp: Fix an error handling path in 'altera_cvp_probe()' If 'fpga_mgr_create()' fails, we should release some resources, as done in the other error handling path of the function. Fixes: 7085e2a94f7d ("fpga: manager: change api, don't use drvdata") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Moritz Fischer <mdf@kernel.org> Acked-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>