mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
611b7eb19d
Currently, when an adapter defines a max_write_len quirk, the data will be chunked into data sizes equal to the max_write_len quirk value. But the payload will be increased by the size of the register address before transmission. The resulting value always ends up larger than the limit set by the quirk. Avoid this error by setting regmap's max_write to the quirk's max_write_len minus the number of bytes for the register and padding. This allows the chunking to work correctly for this limited case without impacting other use-cases. Signed-off-by: Jim Wylder <jwylder@google.com> Link: https://msgid.link/r/20240523211437.2839942-1-jwylder@google.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
internal.h | ||
Kconfig | ||
Makefile | ||
regcache-flat.c | ||
regcache-maple.c | ||
regcache-rbtree.c | ||
regcache.c | ||
regmap-ac97.c | ||
regmap-debugfs.c | ||
regmap-fsi.c | ||
regmap-i2c.c | ||
regmap-i3c.c | ||
regmap-irq.c | ||
regmap-kunit.c | ||
regmap-mdio.c | ||
regmap-mmio.c | ||
regmap-ram.c | ||
regmap-raw-ram.c | ||
regmap-sccb.c | ||
regmap-sdw-mbq.c | ||
regmap-sdw.c | ||
regmap-slimbus.c | ||
regmap-spi-avmm.c | ||
regmap-spi.c | ||
regmap-spmi.c | ||
regmap-w1.c | ||
regmap.c | ||
trace.h |