Skip to content

remap: Some fixes for bulk read/write callbacks in regmap_config support

Javier Martinez Canillas lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3regmap: Re-introduce bulk read support check in regmap_bulk_read()drivers/base/regmap/regmap.c+1 -11 reply
2/3regmap: Make regmap_noinc_read() return -ENOTSUPP if map->read isn't setdrivers/base/regmap/regmap.c+3 -01 reply
3/3regmap: Wire up regmap_config provided bulk write in missed functionsdrivers/base/regmap/regmap.c+4 -61 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMarek Vasut
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] remap: Some fixes for bulk read/write callbacks in regmap_config support

Hello,

This series contains fixes for a few issues found while testing the recent support for drivers to define bulk read/write callbacks in regmap_config.

I tested this with drivers/gpu/drm/solomon/ssd130x-spi.c, by converting it to use this new API instead of defining its own regmap bus for bulk write.

Patch #1 and patch #2 are fixes for regresions introduced by that commit and patch #3 adds regmap_config provided bulk write support to functions regmap_noinc_write() and regmap_bulk_write(), that were missed.

Best regards,
Javier

Javier Martinez Canillas (3):
regmap: Re-introduce bulk read support check in regmap_bulk_read()
regmap: Make regmap_noinc_read() return -ENOTSUPP if map->read isn't
set
regmap: Wire up regmap_config provided bulk write in missed functions

 drivers/base/regmap/regmap.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.36.1