aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2022-06-16 09:34:33 +0200
committerMark Brown <[email protected]>2022-06-20 16:51:26 +0100
commitea50e2a1540fd94e6439a961daae595f65e574fb (patch)
tree7adeb0648c2a3ca1cd63ab5626a26817cae65323 /include/linux/fpga/fpga-mgr.h
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
regmap: Re-introduce bulk read support check in regmap_bulk_read()
Support for drivers to define bulk read/write callbacks in regmap_config was introduced by the commit d77e74561368 ("regmap: Add bulk read/write callbacks into regmap_config"), but this commit wrongly dropped a check in regmap_bulk_read() to determine whether bulk reads can be done or not. Before that commit, it was checked if map->bus was set. Now has to check if a map->read callback has been set. Fixes: d77e74561368 ("regmap: Add bulk read/write callbacks into regmap_config") Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions