diff options
author | Marek Vasut <marex@denx.de> | 2022-04-30 04:51:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-05 13:22:34 +0100 |
commit | d77e745613680c54708470402e2b623dcd769681 (patch) | |
tree | f4c18889ac84dc5f01f75441bf36e6439cd89bf1 /lib/mpi/mpi-add.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
regmap: Add bulk read/write callbacks into regmap_config
Currently the regmap_config structure only allows the user to implement
single element register read/write using .reg_read/.reg_write callbacks.
The regmap_bus already implements bulk counterparts of both, and is being
misused as a workaround for the missing bulk read/write callbacks in
regmap_config by a couple of drivers. To stop this misuse, add the bulk
read/write callbacks to regmap_config and call them from the regmap core
code.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Link: https://lore.kernel.org/r/20220430025145.640305-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions