[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / ulcd / 0001-OMAP_VOUT-Fix-build-break-caused-by-update_mode-remo.patch
1 From 9e3cacdf6fb8c5d704c9fb98f744eddbb25e3cda Mon Sep 17 00:00:00 2001
2 From: archit taneja <archit@ti.com>
3 Date: Fri, 5 Aug 2011 07:19:21 +0000
4 Subject: [PATCH 1/4] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2
6 The DSS2 driver does not support the configuration of the update_mode of a
7 panel anymore. Remove the setting of update_mode done in omap_vout_probe().
8 Ignore configuration of TE since omap_vout driver doesn't support manual update
9 displays anyway.
11 Signed-off-by: Archit Taneja <archit@ti.com>
12 Tested-by: Koen Kooi <koen@dominion.thruhere.net>
13 Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
14 ---
15 drivers/media/video/omap/omap_vout.c | 13 -------------
16 1 files changed, 0 insertions(+), 13 deletions(-)
18 diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
19 index 4d07c58..d17d6b6 100644
20 --- a/drivers/media/video/omap/omap_vout.c
21 +++ b/drivers/media/video/omap/omap_vout.c
22 @@ -2557,19 +2557,6 @@ static int __init omap_vout_probe(struct platform_device *pdev)
23 "'%s' Display already enabled\n",
24 def_display->name);
25 }
26 - /* set the update mode */
27 - if (def_display->caps &
28 - OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
29 - if (dssdrv->enable_te)
30 - dssdrv->enable_te(def_display, 0);
31 - if (dssdrv->set_update_mode)
32 - dssdrv->set_update_mode(def_display,
33 - OMAP_DSS_UPDATE_MANUAL);
34 - } else {
35 - if (dssdrv->set_update_mode)
36 - dssdrv->set_update_mode(def_display,
37 - OMAP_DSS_UPDATE_AUTO);
38 - }
39 }
40 }
42 --
43 1.7.2.5