summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-06-15 11:02:23 +0300
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2023-06-19 15:46:07 +0200
commit34a7716e046916220534baff7ec73341bf355aa6 (patch)
treefc87caed46eac2fe55c97f3faf2211a921614021
parent2a787aca993b5c502a3d7cdae85e0ddce826788d (diff)
Revert "drm/bridge: lt8912b: set hdmi or dvi mode"
This reverts commit 03ee685c4fc2c3414aa9aa163c2f3904ac5262f9. Setting the HDMI bit causes a green tint to appear on my Dell monitor. The original commit is a bit odd, as it sets the HDMI bit, but does not do anything else (e.g. configure infoframes), and doesn't explain why setting the HDMI bit is needed. Upstream-Status: Pending Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--drivers/gpu/drm/bridge/lontium-lt8912b.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c
index 7d81057c4011..71f58e084fc2 100644
--- a/drivers/gpu/drm/bridge/lontium-lt8912b.c
+++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c
@@ -329,8 +329,6 @@ static int lt8912_video_setup(struct lt8912 *lt)
vsync_activehigh ? BIT(0) : 0);
ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xab, BIT(1),
hsync_activehigh ? BIT(1) : 0);
- ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xb2, BIT(0),
- lt->connector.display_info.is_hdmi ? BIT(0) : 0);
return ret;
}