Skip to content

Commit

Permalink
Merge remote-tracking branches 'regulator/fix/axp20x' and 'regulator/…
Browse files Browse the repository at this point in the history
…fix/mt6311' into regulator-linus
  • Loading branch information
Mark Brown committed Jan 12, 2016
3 parents 3ad4b05 + 3cb99e2 + aab3c3f commit 353915f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ config REGULATOR_MC13892
config REGULATOR_MT6311
tristate "MediaTek MT6311 PMIC"
depends on I2C
select REGMAP_I2C
help
Say y here to select this option to enable the power regulator of
MediaTek MT6311 PMIC.
Expand Down
4 changes: 2 additions & 2 deletions drivers/regulator/axp20x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#define AXP20X_IO_ENABLED 0x03
#define AXP20X_IO_DISABLED 0x07

#define AXP22X_IO_ENABLED 0x04
#define AXP22X_IO_DISABLED 0x03
#define AXP22X_IO_ENABLED 0x03
#define AXP22X_IO_DISABLED 0x04

#define AXP20X_WORKMODE_DCDC2_MASK BIT(2)
#define AXP20X_WORKMODE_DCDC3_MASK BIT(1)
Expand Down

0 comments on commit 353915f

Please sign in to comment.