ARM: OMAP3+: SmartReflex: Fix status masking in ERRCONFIG register
authorNishanth Menon <nm@ti.com>
Wed, 29 Feb 2012 22:33:41 +0000 (23:33 +0100)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 19:29:26 +0000 (11:29 -0800)
commitade6ec056fd4acdf4826178eeb305ed263844532
treec8394aa8f035e720ab1b790c95717cfe1b971993
parent1f55bc1852e42f0d06d9eb66b3d3c15b01b62abe
ARM: OMAP3+: SmartReflex: Fix status masking in ERRCONFIG register

ERRCONFIG register has status bits that were intended not to
be destroyed by bad modification. We cleanup and simplify the
handling the status in the modify path.

Reported-by: Vincent Bour <v-bour@ti.com>
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>
arch/arm/mach-omap2/smartreflex.c