Skip to content

Commit 70e997e

Browse files
jwrdegoedelag-linaro
authored andcommitted
mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value
The max_register = 128 setting in the regmap config is not valid. The Intel Dollar Cove TI PMIC has an eeprom unlock register at address 0x88 and a number of EEPROM registers at 0xF?. Increase max_register to 0xff so that these registers can be accessed. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 0f35dc4 commit 70e997e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/intel_soc_pmic_chtdc_ti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static struct mfd_cell chtdc_ti_dev[] = {
8181
static const struct regmap_config chtdc_ti_regmap_config = {
8282
.reg_bits = 8,
8383
.val_bits = 8,
84-
.max_register = 128,
84+
.max_register = 0xff,
8585
.cache_type = REGCACHE_NONE,
8686
};
8787

0 commit comments

Comments
 (0)