diff options
author | Erik Gilling <konkers@android.com> | 2010-10-19 14:51:09 -0700 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2010-10-20 18:21:34 -0700 |
commit | 61804f1c4993adc1df1f2ebd4425b1249b7e531a (patch) | |
tree | 8003b2df434fd562c0da19072b78d3b3ba8be4aa | |
parent | d7962c6bae3a0d6d9017a72588e7d0ecefd3555f (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.c | 4 |
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) |