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

From: Javier Martinez Canillas
Date: Thu Jun 16 2022 - 03:34:58 EST


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(-)

--
2.36.1