]> err.no Git - linux-2.6/commit
SM501: Fix sm501_init_reg() mask/set order
authorBen Dooks <ben-linux@fluff.org>
Sun, 24 Jun 2007 00:16:29 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Jun 2007 15:59:11 +0000 (08:59 -0700)
commit5136237bc392413332b02e69ada158c307da658f
tree3437861d521eec1d011d80fd8bdd67efa1339fa4
parentb5913bbd2ddebd9c2c6841986c29376e691dd396
SM501: Fix sm501_init_reg() mask/set order

The order of the set and mask operation in sm501_init_reg() was setting and
then masking the bits set.  Correct the order so that we do not end up with
288MHz SDRAM clocks on certain systems.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c