regulator: lp8755: Fix mask for pchip->mphase
authorAxel Lin <axel.lin@ingics.com>
Wed, 26 Dec 2012 03:56:37 +0000 (11:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Jan 2013 11:05:26 +0000 (11:05 +0000)
commitcad877ef0af8d18aae88bb7d0f30f747f003fd0f
treea7fca3c3da1f1251311e7276f1483bb035ea645f
parenta1a41ab4e92a42d380286a6aadb1026a2b352801
regulator: lp8755: Fix mask for pchip->mphase

According to the datasheet, it has 9 multi-phase mode from 0 to 8 and it takes
4 bits in the register.
The mask for pchip->mphase should be 0x0F.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp8755.c