linux/drivers/fpga
Ian Abbott 0f5eb15459 fpga: region: release of_parse_phandle nodes after use
Both fpga_region_get_manager() and fpga_region_get_bridges() call
of_parse_phandle(), but nothing calls of_node_put() on the returned
struct device_node pointers.  Make sure to do that to stop their
reference counters getting out of whack.

Fixes: 0fa20cdfcc ("fpga: fpga-region: device tree control for FPGA")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 16:31:27 +01:00
..
altera-cvp.c fpga: altera-cvp: remove DRIVER_ATTR() usage 2017-09-19 09:20:33 +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-08-10 14:27:55 -07: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
altera-ps-spi.c fpga-manager: altera-ps-spi: use bitrev8x4 2017-07-17 17:26:14 +02:00
fpga-bridge.c fpga: fpga-bridge: remove unnecessary null check in of_fpga_bridge_get 2017-11-28 16:31:27 +01:00
fpga-mgr.c fpga: fpga-mgr: remove unnecessary code in __fpga_mgr_get 2017-11-28 16:31:27 +01:00
fpga-region.c fpga: add attribute groups 2017-11-28 16:30:38 +01:00
ice40-spi.c fpga: Add support for Lattice iCE40 FPGAs 2017-03-17 15:10:48 +09:00
Kconfig fpga: clean up fpga Kconfig 2017-11-28 16:30:38 +01:00
Makefile fpga: region: move device tree support to of-fpga-region.c 2017-11-28 16:30:38 +01:00
of-fpga-region.c fpga: region: release of_parse_phandle nodes after use 2017-11-28 16:31:27 +01: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: make xlnx_pr_decoupler_br_ops const 2017-10-04 10:36:40 +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