ARM: 6174/1: ep93xx: clear devcfg bits before setting them
authorHartley Sweeten <hartleys@visionengravers.com>
Mon, 14 Jun 2010 15:54:16 +0000 (16:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 Jun 2010 21:56:06 +0000 (22:56 +0100)
commita0fb007bf0c7de9ae361a9ad3821df4c69d4d2d9
tree036f9f1363464fcaf68a58d3ba7336d1c8bf6cf0
parent16bcf78f8cac9cc3057c6ce3800490cb6e684ce8
ARM: 6174/1: ep93xx: clear devcfg bits before setting them

The ep93xx core helper function ep93xx_devcfg_set_clear should mask the
clear_bits before setting the new set_bits in case the clear_bits are a
mask value that also includes the set_bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/core.c