Skip to content

Commit a5b4676

Browse files
LukaszMadejGrinncarlescufi
authored andcommitted
drivers: mfd: mfd_ad9952: fix reset magic value
Reset magic value equal 0xDAC is invalid. According to device specification [1] a valid value is 0x5AC. Use proper value to make driver aligned with the spec. [1] https://www.analog.com/media/en/technical-documentation/data-sheets/ad5592r.pdf Signed-off-by: Lukasz Madej <[email protected]>
1 parent 7e07ea0 commit a5b4676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/mfd_ad5592.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define AD5592_GPIO_READBACK_EN BIT(10)
1616
#define AD5592_LDAC_READBACK_EN BIT(6)
1717
#define AD5592_REG_SOFTWARE_RESET 0x0FU
18-
#define AD5592_SOFTWARE_RESET_MAGIC_VAL 0xDAC
18+
#define AD5592_SOFTWARE_RESET_MAGIC_VAL 0x5AC
1919
#define AD5592_REV_VAL_MASK 0x3FF
2020
#define AD5592_REG_SHIFT_VAL 11
2121
#define AD5592_REG_READBACK_SHIFT_VAL 2

0 commit comments

Comments
 (0)