Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/msm/hdmi
Miaoqian Lin 0b7d8db87d drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
[ Upstream commit 774fe0cd838d1b1419d41ab4ea0613c80d4ecbd7 ]

The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling path.

Fixes: e00012b256 ("drm/msm/hdmi: Make HDMI core get its PHY")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220107085026.23831-1-linmq006@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-01 17:25:47 +01:00
..
2019-09-03 16:16:57 -07:00
2019-09-03 16:16:57 -07:00
2019-09-03 16:16:57 -07:00
2019-10-03 16:38:50 +02:00
2020-07-31 06:46:16 -07:00
2020-07-31 06:46:16 -07:00