Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333540
b: refs/heads/master
c: aba9657
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Sep 7, 2012
1 parent c95e993 commit 6eb893d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: f6a0492ee0f243415b03632826b80a8c8ae3680b
refs/heads/master: aba965707c4e1b39fe51705488e0e0a2a4d2f803
14 changes: 2 additions & 12 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,27 +1346,17 @@ void dss_mgr_set_lcd_config(struct omap_overlay_manager *mgr,
unsigned long flags;
struct mgr_priv_data *mp = get_mgr_priv(mgr);

mutex_lock(&apply_lock);
spin_lock_irqsave(&data_lock, flags);

if (mp->enabled) {
DSSERR("cannot apply lcd config for %s: manager needs to be disabled\n",
mgr->name);
goto out;
}

spin_lock_irqsave(&data_lock, flags);

dss_apply_mgr_lcd_config(mgr, config);

dss_write_regs();
dss_set_go_bits();

spin_unlock_irqrestore(&data_lock, flags);

wait_pending_extra_info_updates();

out:
mutex_unlock(&apply_lock);
spin_unlock_irqrestore(&data_lock, flags);
}

int dss_ovl_set_info(struct omap_overlay *ovl,
Expand Down

0 comments on commit 6eb893d

Please sign in to comment.