Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344686
b: refs/heads/master
c: 96e2e63
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 7, 2012
1 parent 5a987df commit d5a15d4
Show file tree
Hide file tree
Showing 6 changed files with 464 additions and 427 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 549acbe7a3380dd3bd2ac71698549148ecc0d17e
refs/heads/master: 96e2e6374385d2219b9011f6bfd0de7221a591d4
14 changes: 14 additions & 0 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1607,11 +1607,23 @@ int omapdss_compat_init(void)
if (r)
goto err_mgr_ops;

dispc_runtime_get();

r = dss_dispc_initialize_irq();
if (r)
goto err_init_irq;

dispc_runtime_put();

out:
mutex_unlock(&compat_init_lock);

return 0;

err_init_irq:
dispc_runtime_put();
dss_uninstall_mgr_ops();

err_mgr_ops:
dss_uninit_overlay_managers(pdev);
dss_uninit_overlays(pdev);
Expand All @@ -1633,6 +1645,8 @@ void omapdss_compat_uninit(void)
if (--compat_refcnt > 0)
goto out;

dss_dispc_uninitialize_irq();

dss_uninstall_mgr_ops();

dss_uninit_overlay_managers(pdev);
Expand Down
Loading

0 comments on commit d5a15d4

Please sign in to comment.