Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d10543ec authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman
Browse files

staging: vchiq_arm: add missing of_node_put



After device_node usage the refcount must be decremented with
of_node_put().

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 396e9254
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2900,6 +2900,7 @@ static int vchiq_probe(struct platform_device *pdev)
	}

	fw = rpi_firmware_get(fw_node);
	of_node_put(fw_node);
	if (!fw)
		return -EPROBE_DEFER;