Skip to content

Commit 71406b6

Browse files
JPSGoncalvesbroonie
authored andcommitted
regulator: max20086: Fix MAX200086 chip id
>From MAX20086-MAX20089 datasheet, the id for a MAX20086 is 0x30 and not 0x40. With the current code, the driver will fail on probe when the driver tries to identify the chip id from a MAX20086 device over I2C. Cc: [email protected] Fixes: bfff546 ("regulator: Add MAX20086-MAX20089 driver") Signed-off-by: João Paulo Gonçalves <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8ffd015 commit 71406b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/max20086-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define MAX20086_REG_ADC4 0x09
2929

3030
/* DEVICE IDs */
31-
#define MAX20086_DEVICE_ID_MAX20086 0x40
31+
#define MAX20086_DEVICE_ID_MAX20086 0x30
3232
#define MAX20086_DEVICE_ID_MAX20087 0x20
3333
#define MAX20086_DEVICE_ID_MAX20088 0x10
3434
#define MAX20086_DEVICE_ID_MAX20089 0x00

0 commit comments

Comments
 (0)