Advertisement
Guest User

Untitled

a guest
Oct 11th, 2011
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. static int dss_ovl_set_overlay_info(struct omap_overlay *ovl,
  2. struct omap_overlay_info *info)
  3. {
  4. int r;
  5. struct omap_overlay_info old_info;
  6.  
  7. old_info = ovl->info;
  8. ovl->info = *info;
  9.  
  10. if (ovl->manager) {
  11. r = dss_check_overlay(ovl, ovl->manager->device);
  12. if (r) {
  13. ovl->info = old_info;
  14. return r;
  15. }
  16. }
  17.  
  18. ovl->info_dirty = true;
  19.  
  20. return 0;
  21. }
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement