summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2010-10-19 14:51:09 -0700
committerErik Gilling <konkers@android.com>2010-10-20 18:21:34 -0700
commit61804f1c4993adc1df1f2ebd4425b1249b7e531a (patch)
tree8003b2df434fd562c0da19072b78d3b3ba8be4aa
parentd7962c6bae3a0d6d9017a72588e7d0ecefd3555f (diff)
video: tegra: clear video modes on hdmi unplug
Change-Id: If9aabc5efa1b934c94e71e0210f38979f6f7e58e Signed-off-by: Erik Gilling <konkers@android.com>
-rw-r--r--drivers/video/tegra/dc/hdmi.c4
1 files changed, 3 insertions, 1 deletions
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)