diff options
author | Nishanth Menon <nm@ti.com> | 2012-02-29 17:33:38 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-03-05 14:29:26 -0500 |
commit | 74754cc5e047184588f35b3f9689a9c3e0599483 (patch) | |
tree | 86ef098da137a94c25ef470a1a3b5ac820542103 /arch/arm/mach-omap2/smartreflex.c | |
parent | cea6b942124683305280962969599fed36f0ea7e (diff) |
ARM: OMAP3+: SmartReflex: fix err interrupt disable sequence
sr_modify_mask takes mask, value as parameters, the usage
currently is value, mask which is wrong, as a result
vpboundint_st which was supposed to have been disabled,
does not get disabled.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex.c')
-rw-r--r-- | arch/arm/mach-omap2/smartreflex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 47c77a1d932a..eaf0d6e2f2e0 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c | |||
@@ -447,8 +447,8 @@ int sr_configure_errgen(struct voltagedomain *voltdm) | |||
447 | sr_errconfig); | 447 | sr_errconfig); |
448 | 448 | ||
449 | /* Enabling the interrupts if the ERROR module is used */ | 449 | /* Enabling the interrupts if the ERROR module is used */ |
450 | sr_modify_reg(sr, errconfig_offs, | 450 | sr_modify_reg(sr, errconfig_offs, (vpboundint_en | vpboundint_st), |
451 | vpboundint_en, (vpboundint_en | vpboundint_st)); | 451 | vpboundint_en); |
452 | 452 | ||
453 | return 0; | 453 | return 0; |
454 | } | 454 | } |