kernel_optimize_test/drivers/soc/amlogic
Yu Kuai f9e71ed020 soc: amlogic: canvas: add missing put_device() call in meson_canvas_get()
[ Upstream commit 28f851e6afa858f182802e23ac60c3ed7d1c04a1 ]

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:53:27 +01:00
..
Kconfig soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS & !MESON_SM 2020-02-29 08:53:43 -08:00
Makefile soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00
meson-canvas.c soc: amlogic: canvas: add missing put_device() call in meson_canvas_get() 2020-12-30 11:53:27 +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: pm-domains: use always-on flag 2020-09-24 09:50:01 -07:00
meson-gx-pwrc-vpu.c soc: amlogic: pm-domains: use always-on flag 2020-09-24 09:50:01 -07:00
meson-gx-socinfo.c soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's 2020-06-29 16:00:53 -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
meson-secure-pwrc.c soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00