From 61804f1c4993adc1df1f2ebd4425b1249b7e531a Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Tue, 19 Oct 2010 14:51:09 -0700 Subject: [PATCH] video: tegra: clear video modes on hdmi unplug Change-Id: If9aabc5efa1b934c94e71e0210f38979f6f7e58e Signed-off-by: Erik Gilling --- drivers/video/tegra/dc/hdmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index 4be656e35125..58ad135b90cc 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -465,8 +465,10 @@ static void tegra_dc_hdmi_detect_worker(struct work_struct *work) container_of(to_delayed_work(work), struct tegra_dc_hdmi_data, work); struct tegra_dc *dc = hdmi->dc; - if (!tegra_dc_hdmi_detect(dc)) + if (!tegra_dc_hdmi_detect(dc)) { tegra_dc_disable(dc); + tegra_fb_update_monspecs(dc->fb, NULL, NULL); + } } static irqreturn_t tegra_dc_hdmi_irq(int irq, void *ptr) -- 2.34.1