diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2022-06-16 09:34:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-20 16:51:29 +0100 |
commit | 2a166929bc0a3ae754365dabc455039fd1be82ca (patch) | |
tree | de641d3561dd9d4cc719dcd1ccf0ed8ed4e38637 /lib/assoc_array.c | |
parent | c42e99a3f93b4ca15720fdfd7aa8f6141dcc2a58 (diff) | |
download | linux-2a166929bc0a3ae754365dabc455039fd1be82ca.tar.bz2 |
regmap: Wire up regmap_config provided bulk write in missed functions
There are some functions that were missed by commit d77e74561368 ("regmap:
Add bulk read/write callbacks into regmap_config") when support to define
bulk read/write callbacks in regmap_config was introduced.
The regmap_bulk_write() and regmap_noinc_write() functions weren't changed
to use the added map->write instead of the map->bus->write handler.
Also, the regmap_can_raw_write() was not modified to take map->write into
account. So will only return true if a bus with a .write callback is set.
Fixes: d77e74561368 ("regmap: Add bulk read/write callbacks into regmap_config")
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220616073435.1988219-4-javierm@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions