Skip to content

Commit e075d68

Browse files
committed
Merge tag 'regmap-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap fix from Mark Brown: "One more fix for v6.4 The earlier fix to take account of the register data size when limiting raw register writes exposed the fact that the Intel AVMM bus was incorrectly specifying too low a limit on the maximum data transfer, it is only capable of transmitting one register so had set a transfer size limit that couldn't fit both the value and the the register address into a single message" * tag 'regmap-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: regmap: spi-avmm: Fix regmap_bus max_raw_write
2 parents 8ba90f5 + c8e7968 commit e075d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/regmap/regmap-spi-avmm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ static const struct regmap_bus regmap_spi_avmm_bus = {
660660
.reg_format_endian_default = REGMAP_ENDIAN_NATIVE,
661661
.val_format_endian_default = REGMAP_ENDIAN_NATIVE,
662662
.max_raw_read = SPI_AVMM_VAL_SIZE * MAX_READ_CNT,
663-
.max_raw_write = SPI_AVMM_VAL_SIZE * MAX_WRITE_CNT,
663+
.max_raw_write = SPI_AVMM_REG_SIZE + SPI_AVMM_VAL_SIZE * MAX_WRITE_CNT,
664664
.free_context = spi_avmm_bridge_ctx_free,
665665
};
666666

0 commit comments

Comments
 (0)