drm: bridge: it66121: Set DDC preamble only once before reading EDID
authorPaul Cercueil <paul@crapouillou.net>
Wed, 14 Dec 2022 12:58:19 +0000 (13:58 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Fri, 16 Dec 2022 10:42:37 +0000 (11:42 +0100)
commite66856508746ba520dd5f87ac608c9a1ae547a17
tree91fc0308f9212881b5b3c3006af2b77cfcfbfe9e
parentd7f139da0cd193f313dbd6607635cf68e2dc662b
drm: bridge: it66121: Set DDC preamble only once before reading EDID

The DDC preamble and target address only need to be set once before
reading the EDID, even if multiple segments have to be read.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221214125821.12489-9-paul@crapouillou.net
drivers/gpu/drm/bridge/ite-it66121.c