Commit 2a16692
regmap: Wire up regmap_config provided bulk write in missed functions
There are some functions that were missed by commit d77e745 ("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: d77e745 ("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>1 parent c42e99a commit 2a16692
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
1883 | | - | |
1884 | | - | |
| 1883 | + | |
1885 | 1884 | | |
1886 | 1885 | | |
1887 | 1886 | | |
| |||
2155 | 2154 | | |
2156 | 2155 | | |
2157 | 2156 | | |
2158 | | - | |
2159 | | - | |
2160 | | - | |
| 2157 | + | |
2161 | 2158 | | |
| 2159 | + | |
2162 | 2160 | | |
2163 | 2161 | | |
2164 | 2162 | | |
| |||
2278 | 2276 | | |
2279 | 2277 | | |
2280 | 2278 | | |
2281 | | - | |
| 2279 | + | |
2282 | 2280 | | |
2283 | 2281 | | |
2284 | 2282 | | |
| |||
0 commit comments