regulator: max77843: Fix enable_mask for max77843 charger
authorAxel Lin <axel.lin@ingics.com>
Fri, 1 May 2015 06:16:39 +0000 (14:16 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2015 14:07:29 +0000 (15:07 +0100)
commitb7c960d5d00412cd8deb08087279287fe12c535b
treea32f926810e1fd5d4cdc53575ffd1af83508d92e
parentec03c08dd14d832f1456527c9da70ed014268b4b
regulator: max77843: Fix enable_mask for max77843 charger

MAX77843_CHG_ENABLE is 0x05, so the enable_mask should be
MAX77843_CHG_MASK | MAX77843_CHG_BUCK_MASK.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77843.c