Merge tag 'regulator-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fix from Mark Brown:
 "One simple fix for v6.4, some incorrectly specified bitfield masks in
  the PCA9450 driver"

* tag 'regulator-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
This commit is contained in:
Linus Torvalds
2023-06-21 10:29:42 -07:00

View File

@ -196,11 +196,11 @@ enum {
/* PCA9450_REG_LDO3_VOLT bits */ /* PCA9450_REG_LDO3_VOLT bits */
#define LDO3_EN_MASK 0xC0 #define LDO3_EN_MASK 0xC0
#define LDO3OUT_MASK 0x0F #define LDO3OUT_MASK 0x1F
/* PCA9450_REG_LDO4_VOLT bits */ /* PCA9450_REG_LDO4_VOLT bits */
#define LDO4_EN_MASK 0xC0 #define LDO4_EN_MASK 0xC0
#define LDO4OUT_MASK 0x0F #define LDO4OUT_MASK 0x1F
/* PCA9450_REG_LDO5_VOLT bits */ /* PCA9450_REG_LDO5_VOLT bits */
#define LDO5L_EN_MASK 0xC0 #define LDO5L_EN_MASK 0xC0