]> git.baikalelectronics.ru Git - kernel.git/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)
commit0d1c0837f44e92e49a278a9c0919ec4a4ee6f043
tree3437861d521eec1d011d80fd8bdd67efa1339fa4
parentb81260b75f24da6440027e332a661d45de85ce8b
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