From: Nishanth Menon Date: Wed, 29 Feb 2012 22:33:38 +0000 (+0100) Subject: ARM: OMAP3+: SmartReflex: fix err interrupt disable sequence X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74754cc5e047184588f35b3f9689a9c3e0599483;p=linux-beck.git 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 Signed-off-by: Jean Pihet Reviewed-by: Kevin Hilman Signed-off-by: Kevin Hilman --- 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) sr_errconfig); /* Enabling the interrupts if the ERROR module is used */ - sr_modify_reg(sr, errconfig_offs, - vpboundint_en, (vpboundint_en | vpboundint_st)); + sr_modify_reg(sr, errconfig_offs, (vpboundint_en | vpboundint_st), + vpboundint_en); return 0; }