diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-01-07 08:36:32 +0000 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-01-11 10:49:32 +0100 |
commit | c71af3dae3e34d2fde0c19623cf7f8483321f0e3 (patch) | |
tree | 8718e4df261f1c409986a3f06f4f7dc2943ba985 /fs/jfs | |
parent | 22bf4047d26980807611b7e2030803db375afd87 (diff) | |
download | linux-c71af3dae3e34d2fde0c19623cf7f8483321f0e3.tar.bz2 |
drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
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: 9bf3797796f5 ("drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220107083633.20843-1-linmq006@gmail.com
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions