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)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 15 May 2016 12:43:21 +0000 (15:43 +0300)
commitb245e671d2e6b8a897f950ec7b094f6d33477f3b
tree36285b8ff801e95aade476bf387a8395cf65a446
parent2f88604b29c76bb189be31b27c4d6dc9a43cc4dc
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