linux 3.0: fix uLCD poweron for beagleboard
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / ulcd / 0004-Make-fbset-show-correct-timing-values.patch
1 From 1d70480dca0c7648f5f51fad5ffb0e191212615a Mon Sep 17 00:00:00 2001
2 From: Joel A Fernandes <agnel.joel@gmail.com>
3 Date: Wed, 17 Aug 2011 00:28:49 -0500
4 Subject: [PATCH 4/4] Make fbset show correct timing values
6 Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
7 Cc: "Monk, Roger" <r-monk@ti.com>
8 ---
9  .../omap2/displays/panel-tfc-s9700rtwv35tr01b.c    |    8 +++++++-
10  1 files changed, 7 insertions(+), 1 deletions(-)
12 diff --git a/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c b/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c
13 index c2a1a19..6afd4e3 100644
14 --- a/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c
15 +++ b/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c
16 @@ -88,6 +88,12 @@ static int tfc_panel_resume(struct omap_dss_device *dssdev)
17         return tfc_panel_enable(dssdev);
18  }
19  
20 +static void tfc_panel_get_timings(struct omap_dss_device *dssdev,
21 +                           struct omap_video_timings *timings)
22 +{
23 +           *timings = dssdev->panel.timings;
24 +}
25 +
26  static struct omap_dss_driver tfc_s9700_driver = {
27         .probe          = tfc_panel_probe,
28         .remove         = tfc_panel_remove,
29 @@ -96,7 +102,7 @@ static struct omap_dss_driver tfc_s9700_driver = {
30         .disable        = tfc_panel_disable,
31         .suspend        = tfc_panel_suspend,
32         .resume         = tfc_panel_resume,
33 -
34 +       .get_timings = tfc_panel_get_timings,
35         .driver         = {
36                 .name   = "tfc_s9700_panel",
37                 .owner  = THIS_MODULE,
38 -- 
39 1.6.6.1