1
0
Fork 0
alistair23-linux/drivers/soc/amlogic
Yu Kuai 09347a537c soc: amlogic: canvas: add missing put_device() call in meson_canvas_get()
[ Upstream commit 28f851e6af ]

if of_find_device_by_node() succeed, meson_canvas_get() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.

Fixes: 382f8be045 ("soc: amlogic: canvas: Fix meson_canvas_get when probe failed")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201117011322.522477-1-yukuai3@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:15 +01:00
..
Kconfig soc: amlogic: Add support for Everything-Else power domains controller 2019-08-28 14:29:37 -07:00
Makefile soc: amlogic: Add support for Everything-Else power domains controller 2019-08-28 14:29:37 -07:00
meson-canvas.c soc: amlogic: canvas: add missing put_device() call in meson_canvas_get() 2020-12-30 11:51:15 +01:00
meson-clk-measure.c soc: amlogic: clk-measure: Add support for SM1 2019-08-20 12:21:13 -07:00
meson-ee-pwrc.c soc: amlogic: meson-ee-pwrc: propagate errors from pm_genpd_init() 2020-01-23 08:22:28 +01:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: Add support for G12A 2019-04-16 11:09:53 -07:00
meson-gx-socinfo.c soc: amlogic: meson-gx-socinfo: Add of_node_put() before return 2019-08-20 14:53:33 -07:00
meson-mx-socinfo.c meson-mx-socinfo: Make local function meson_mx_socinfo_init() static 2018-02-12 14:15:47 -08:00