diff options
| author | Maxime Ripard <[email protected]> | 2021-05-24 13:18:51 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2021-06-07 11:33:46 +0000 |
| commit | e075a7811977ff51c917a65ed1896e08231d2615 (patch) | |
| tree | cf0a4a0ecd0f25ad87c444b8fc10a8c7f1b445cb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/ttm: fix missing res assignment in ttm_range_man_alloc (diff) | |
| download | kernel-e075a7811977ff51c917a65ed1896e08231d2615.tar.gz kernel-e075a7811977ff51c917a65ed1896e08231d2615.zip | |
drm/vc4: hdmi: Fix error path of hpd-gpios
If the of_get_named_gpio_flags call fails in vc4_hdmi_bind, we jump to
the err_unprepare_hsm label. That label will then call
pm_runtime_disable and put_device on the DDC device.
We just retrieved the DDC device, so the latter is definitely justified.
However at that point we still haven't called pm_runtime_enable, so the
call to pm_runtime_disable is not supposed to be there.
Fixes: 10ee275cb12f ("drm/vc4: prepare for CEC support")
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
