Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299489
b: refs/heads/master
c: 5ae256d
h: refs/heads/master
i:
  299487: e68c7f1
v: v3
  • Loading branch information
Santosh Shilimkar authored and Tony Lindgren committed Apr 17, 2012
1 parent afc24b2 commit 99f2dbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: bce492c04ba8fc66a4ea0a52b181ba255daaaf54
refs/heads/master: 5ae256dcd91bf308826a4ac19598b27ebb86a536
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,14 @@ static void omap_uart_set_noidle(struct platform_device *pdev)
static void omap_uart_set_smartidle(struct platform_device *pdev)
{
struct omap_device *od = to_omap_device(pdev);
u8 idlemode;

omap_hwmod_set_slave_idlemode(od->hwmods[0], HWMOD_IDLEMODE_SMART);
if (od->hwmods[0]->class->sysc->idlemodes & SIDLE_SMART_WKUP)
idlemode = HWMOD_IDLEMODE_SMART_WKUP;
else
idlemode = HWMOD_IDLEMODE_SMART;

omap_hwmod_set_slave_idlemode(od->hwmods[0], idlemode);
}

#else
Expand Down

0 comments on commit 99f2dbf

Please sign in to comment.