diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-23 08:46:54 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-07-25 03:08:15 -0400 |
commit | aac927c93bb353375c74779491e217427cc4d3a9 (patch) | |
tree | eb2dc8bc9c7a5a399592420a53722c9256999168 /include/video | |
parent | b88f58f091f7e771315bc74c28203b5248b96be0 (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 'include/video')
-rw-r--r-- | include/video/omapdss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index c804bda059d..3a221de244e 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -238,7 +238,7 @@ int dsi_vc_send_bta_sync(struct omap_dss_device *dssdev, int channel); | |||
238 | 238 | ||
239 | /* Board specific data */ | 239 | /* Board specific data */ |
240 | struct omap_dss_board_info { | 240 | struct omap_dss_board_info { |
241 | int (*get_last_off_on_transaction_id)(struct device *dev); | 241 | int (*get_context_loss_count)(struct device *dev); |
242 | int num_devices; | 242 | int num_devices; |
243 | struct omap_dss_device **devices; | 243 | struct omap_dss_device **devices; |
244 | struct omap_dss_device *default_device; | 244 | struct omap_dss_device *default_device; |