aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/display.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-23 08:46:54 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-25 03:08:15 -0400
commitaac927c93bb353375c74779491e217427cc4d3a9 (patch)
treeeb2dc8bc9c7a5a399592420a53722c9256999168 /arch/arm/mach-omap2/display.c
parentb88f58f091f7e771315bc74c28203b5248b96be0 (diff)
OMAP: DSS2: rewrite use of context_loss_count
The function to get device's context loss count has changed from omap_pm_get_last_off_on_transaction_id() to omap_pm_get_dev_context_loss_count() Change name of the function pointer in omapdss.h accordingly, and use the term "context loss count" instead of "context id" in the code. Restructure the context loss count functions to handle errors properly, and ensure that context is always considered lost if an error happens. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/display.c')
-rw-r--r--arch/arm/mach-omap2/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 543fcb8b518c..084a51b1fb21 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -117,7 +117,7 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
117 } 117 }
118 118
119 pdata.board_data = board_data; 119 pdata.board_data = board_data;
120 pdata.board_data->get_last_off_on_transaction_id = NULL; 120 pdata.board_data->get_context_loss_count = NULL;
121 pdata.opt_clock_available = opt_clock_available; 121 pdata.opt_clock_available = opt_clock_available;
122 122
123 for (i = 0; i < oh_count; i++) { 123 for (i = 0; i < oh_count; i++) {