diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-03-24 07:58:01 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 07:20:44 -0400 |
commit | 33a410be6f4b760f0abe3ec05ac808f1c391bd41 (patch) | |
tree | e53fd02ae3f1deda1fb735abdded1eae3788eb81 /include/video/omap-panel-nokia-dsi.h | |
parent | 88257b26953f73f30acf49587cb42b84be43c587 (diff) |
OMAP: DSS2: Taal: Implement configurable ESD interval
ESD check in Taal driver is currently on/off feature with hardcoded
interval. This patch changes it to a configurable interval, which can be
set from the board file.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omap-panel-nokia-dsi.h')
-rw-r--r-- | include/video/omap-panel-nokia-dsi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/omap-panel-nokia-dsi.h b/include/video/omap-panel-nokia-dsi.h index e109b21e975a..3bd8d231add7 100644 --- a/include/video/omap-panel-nokia-dsi.h +++ b/include/video/omap-panel-nokia-dsi.h | |||
@@ -8,7 +8,7 @@ struct omap_dss_device; | |||
8 | * @name: panel name | 8 | * @name: panel name |
9 | * @use_ext_te: use external TE | 9 | * @use_ext_te: use external TE |
10 | * @ext_te_gpio: external TE GPIO | 10 | * @ext_te_gpio: external TE GPIO |
11 | * @use_esd_check: perform ESD checks | 11 | * @esd_interval: interval of ESD checks, 0 = disabled (ms) |
12 | * @max_backlight_level: maximum backlight level | 12 | * @max_backlight_level: maximum backlight level |
13 | * @set_backlight: pointer to backlight set function | 13 | * @set_backlight: pointer to backlight set function |
14 | * @get_backlight: pointer to backlight get function | 14 | * @get_backlight: pointer to backlight get function |
@@ -21,7 +21,7 @@ struct nokia_dsi_panel_data { | |||
21 | bool use_ext_te; | 21 | bool use_ext_te; |
22 | int ext_te_gpio; | 22 | int ext_te_gpio; |
23 | 23 | ||
24 | bool use_esd_check; | 24 | unsigned esd_interval; |
25 | 25 | ||
26 | int max_backlight_level; | 26 | int max_backlight_level; |
27 | int (*set_backlight)(struct omap_dss_device *dssdev, int level); | 27 | int (*set_backlight)(struct omap_dss_device *dssdev, int level); |