From 34a7716e046916220534baff7ec73341bf355aa6 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 15 Jun 2023 11:02:23 +0300 Subject: 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 Signed-off-by: Francesco Dolcini --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 -- 1 file changed, 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; } -- cgit v1.2.3