diff options
| author | Liang He <windhl@126.com> | 2022-07-19 14:54:47 +0800 |
|---|---|---|
| committer | Robert Foss <robert.foss@linaro.org> | 2022-07-19 14:48:48 +0200 |
| commit | 14e7157afb055248ed34901fcd6fbf54201cfea1 (patch) | |
| tree | 3a02c6fd8d24fdc4add5b3ae1b16bada0e3c8a21 /drivers/gpu/drm/drm_format_helper.c | |
| parent | 1d43a5120ab49f22ba6c5901ad3994e254510303 (diff) | |
| download | linux-14e7157afb055248ed34901fcd6fbf54201cfea1.tar.gz linux-14e7157afb055248ed34901fcd6fbf54201cfea1.tar.bz2 linux-14e7157afb055248ed34901fcd6fbf54201cfea1.zip | |
drm/bridge: tc358767: Add of_node_put() when breaking out of loop
In tc_probe_bridge_endpoint(), we should call of_node_put() when
breaking out of the for_each_endpoint_of_node() which will automatically
increase and decrease the refcount.
Fixes: 71f7d9c03118 ("drm/bridge: tc358767: Detect bridge mode from connected endpoints in DT")
Signed-off-by: Liang He <windhl@126.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220719065447.1080817-2-windhl@126.com
Diffstat (limited to 'drivers/gpu/drm/drm_format_helper.c')
0 files changed, 0 insertions, 0 deletions
