OpenCloudOS-Kernel/drivers/gpu/drm/msm/hdmi
Miaoqian Lin 774fe0cd83 drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
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>
2022-01-25 05:44:54 +03:00
..
hdmi.c drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy 2022-01-25 05:44:54 +03:00
hdmi.h drm/msm/hdmi: switch to drm_bridge_connector 2021-12-07 14:47:11 -08:00
hdmi.xml.h drm/msm: Generated register update 2021-06-23 07:33:54 -07:00
hdmi_audio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
hdmi_bridge.c drm/msm: Don't use autosuspend for display 2021-12-16 09:51:25 -08:00
hdmi_hdcp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
hdmi_hpd.c drm/msm: Don't use autosuspend for display 2021-12-16 09:51:25 -08:00
hdmi_i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
hdmi_phy.c drm/msm/hdmi: use bulk regulator API 2021-10-21 10:04:19 -07:00
hdmi_phy_8x60.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
hdmi_phy_8x74.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
hdmi_phy_8960.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
hdmi_phy_8996.c drm: msm: hdmi: Constify static structs 2021-10-15 13:26:33 -07:00
hdmi_pll_8960.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
qfprom.xml.h drm/msm: Generated register update 2021-06-23 07:33:54 -07:00