Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/vc4
Maxime Ripard 43b7f1dec6 drm/vc4: hdmi: Fix error path of hpd-gpios
[ Upstream commit e075a7811977ff51c917a65ed1896e08231d2615 ]

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: 10ee275cb1 ("drm/vc4: prepare for CEC support")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210524131852.263883-1-maxime@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:19 +02:00
..
2019-11-25 10:04:41 +01:00
2020-11-02 12:14:50 +01:00
2020-04-02 14:16:45 +02:00
2020-11-03 10:11:05 +01:00
2020-04-02 14:16:45 +02:00
2020-11-02 12:14:50 +01:00
2020-11-02 12:14:50 +01:00
2020-04-02 14:16:45 +02:00