Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333541
b: refs/heads/master
c: fed62e5
h: refs/heads/master
i:
  333539: c95e993
v: v3
  • Loading branch information
Tomi Valkeinen committed Sep 7, 2012
1 parent 6eb893d commit f8e40a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 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: aba965707c4e1b39fe51705488e0e0a2a4d2f803
refs/heads/master: fed62e54ae1f80f4631ce154225cf019f1219e59
18 changes: 8 additions & 10 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,21 +1314,19 @@ void dss_mgr_set_timings(struct omap_overlay_manager *mgr,
const struct omap_video_timings *timings)
{
unsigned long flags;

mutex_lock(&apply_lock);
struct mgr_priv_data *mp = get_mgr_priv(mgr);

spin_lock_irqsave(&data_lock, flags);

dss_apply_mgr_timings(mgr, timings);

dss_write_regs();
dss_set_go_bits();
if (mp->updating) {
DSSERR("cannot set timings for %s: manager needs to be disabled\n",
mgr->name);
goto out;
}

dss_apply_mgr_timings(mgr, timings);
out:
spin_unlock_irqrestore(&data_lock, flags);

wait_pending_extra_info_updates();

mutex_unlock(&apply_lock);
}

static void dss_apply_mgr_lcd_config(struct omap_overlay_manager *mgr,
Expand Down

0 comments on commit f8e40a4

Please sign in to comment.