Skip to content

Commit 6eb9466

Browse files
committed
Merge tag 'regulator-fix-v7.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fix from Mark Brown: "One straightforward driver fix for some incorrectly described bitfields in the ltc3676 driver" * tag 'regulator-fix-v7.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: ltc3676: Fix incorrect IRQSTAT bit offsets
2 parents 502c9e9 + 50dce2e commit 6eb9466

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/regulator/ltc3676.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
#define LTC3676_DVBxA_REF_SELECT BIT(5)
4646
#define LTC3676_DVBxB_PGOOD_MASK BIT(5)
4747

48-
#define LTC3676_IRQSTAT_PGOOD_TIMEOUT BIT(3)
49-
#define LTC3676_IRQSTAT_UNDERVOLT_WARN BIT(4)
50-
#define LTC3676_IRQSTAT_UNDERVOLT_FAULT BIT(5)
51-
#define LTC3676_IRQSTAT_THERMAL_WARN BIT(6)
52-
#define LTC3676_IRQSTAT_THERMAL_FAULT BIT(7)
48+
#define LTC3676_IRQSTAT_PGOOD_TIMEOUT BIT(2)
49+
#define LTC3676_IRQSTAT_UNDERVOLT_WARN BIT(3)
50+
#define LTC3676_IRQSTAT_UNDERVOLT_FAULT BIT(4)
51+
#define LTC3676_IRQSTAT_THERMAL_WARN BIT(5)
52+
#define LTC3676_IRQSTAT_THERMAL_FAULT BIT(6)
5353

5454
enum ltc3676_reg {
5555
LTC3676_SW1,

0 commit comments

Comments
 (0)