]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Use local vc4_hdmi directly
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:16 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:05:19 +0000 (18:05 +0200)
commit62b974e1bcdaf8e784bd873a39f621d67eaa4af2
tree5b5a97270c82ce9ff5e7b9f1cc6fcbd5c1caa9d7
parent271b59bce4fdaa83dae2ad2c32cd6e40d8a7afe2
drm/vc4: hdmi: Use local vc4_hdmi directly

The function vc4_hdmi_connector_detect access its vc4_hdmi struct by
dereferencing the pointer in the structure vc4_dev. This will cause some
issues when we will have multiple HDMI controllers, so let's just use the
local variable for now instead of dereferencing that pointer all the time,
and we'll fix the local variable later.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/ef92c5582d3b2894128b2272a8ada7cbc20be3d9.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c