diff options
Diffstat (limited to 'arch/arm/mach-omap2/control.c')
-rw-r--r-- | arch/arm/mach-omap2/control.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index d058f7c3ec6a..b066c6e110a6 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c | |||
@@ -134,6 +134,7 @@ struct omap3_control_regs { | |||
134 | u32 sramldo4; | 134 | u32 sramldo4; |
135 | u32 sramldo5; | 135 | u32 sramldo5; |
136 | u32 csi; | 136 | u32 csi; |
137 | u32 padconf_sys_nirq; | ||
137 | }; | 138 | }; |
138 | 139 | ||
139 | static struct omap3_control_regs control_context; | 140 | static struct omap3_control_regs control_context; |
@@ -457,6 +458,8 @@ void omap3_control_save_context(void) | |||
457 | control_context.sramldo4 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO4); | 458 | control_context.sramldo4 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO4); |
458 | control_context.sramldo5 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO5); | 459 | control_context.sramldo5 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO5); |
459 | control_context.csi = omap_ctrl_readl(OMAP343X_CONTROL_CSI); | 460 | control_context.csi = omap_ctrl_readl(OMAP343X_CONTROL_CSI); |
461 | control_context.padconf_sys_nirq = | ||
462 | omap_ctrl_readl(OMAP343X_CONTROL_PADCONF_SYSNIRQ); | ||
460 | return; | 463 | return; |
461 | } | 464 | } |
462 | 465 | ||
@@ -513,6 +516,8 @@ void omap3_control_restore_context(void) | |||
513 | omap_ctrl_writel(control_context.sramldo4, OMAP343X_CONTROL_SRAMLDO4); | 516 | omap_ctrl_writel(control_context.sramldo4, OMAP343X_CONTROL_SRAMLDO4); |
514 | omap_ctrl_writel(control_context.sramldo5, OMAP343X_CONTROL_SRAMLDO5); | 517 | omap_ctrl_writel(control_context.sramldo5, OMAP343X_CONTROL_SRAMLDO5); |
515 | omap_ctrl_writel(control_context.csi, OMAP343X_CONTROL_CSI); | 518 | omap_ctrl_writel(control_context.csi, OMAP343X_CONTROL_CSI); |
519 | omap_ctrl_writel(control_context.padconf_sys_nirq, | ||
520 | OMAP343X_CONTROL_PADCONF_SYSNIRQ); | ||
516 | return; | 521 | return; |
517 | } | 522 | } |
518 | 523 | ||