diff options
| author | Andy Green <andy.green@linaro.org> | 2011-07-24 15:59:09 -0400 |
|---|---|---|
| committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:18:10 -0400 |
| commit | d7444d7abd5aeb0febbce5daefb2a2ebcd9db3f9 (patch) | |
| tree | 0c5b973ba5872c4ca53334f8c7581caf88d3f607 /drivers/video | |
| parent | bc3148b9ca04378567e01f485c16914c3f9255c4 (diff) | |
Subject: [PATCH 12/21] Subject: [PATCH 12/19] hdmi add notification
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 5cddf2e9996..83112355bc2 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c | |||
| @@ -1198,7 +1198,6 @@ static int hdmi_power_on(struct omap_dss_device *dssdev) | |||
| 1198 | dssdev->panel.timings.y_res); | 1198 | dssdev->panel.timings.y_res); |
| 1199 | 1199 | ||
| 1200 | if (!hdmi.custom_set) { | 1200 | if (!hdmi.custom_set) { |
| 1201 | code = get_timings_index(); | ||
| 1202 | DSSDBG("Read EDID as no EDID is not set on poweron\n"); | 1201 | DSSDBG("Read EDID as no EDID is not set on poweron\n"); |
| 1203 | hdmi_read_edid(p); | 1202 | hdmi_read_edid(p); |
| 1204 | dirty = get_timings_index() != code; | 1203 | dirty = get_timings_index() != code; |
| @@ -1213,11 +1212,11 @@ static int hdmi_power_on(struct omap_dss_device *dssdev) | |||
| 1213 | 1212 | ||
| 1214 | hdmi_wp_video_start(0); | 1213 | hdmi_wp_video_start(0); |
| 1215 | 1214 | ||
| 1216 | if (dirty) { | 1215 | if (dirty) { |
| 1217 | omap_dss_notify(dssdev, OMAP_DSS_SIZE_CHANGE); | 1216 | omap_dss_notify(dssdev, OMAP_DSS_SIZE_CHANGE); |
| 1218 | } | 1217 | } |
| 1219 | 1218 | ||
| 1220 | /* config the PLL and PHY first */ | 1219 | /* config the PLL and PHY first */ |
| 1221 | r = hdmi_pll_program(&pll_data); | 1220 | r = hdmi_pll_program(&pll_data); |
| 1222 | if (r) { | 1221 | if (r) { |
| 1223 | DSSDBG("Failed to lock PLL\n"); | 1222 | DSSDBG("Failed to lock PLL\n"); |
