diff options
author | Javier Martinez Canillas <[email protected]> | 2022-06-16 09:34:33 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-20 11:35:36 +0100 |
commit | 5ac01e023a1b0492e159ad2f6734e0a350c1b6b6 (patch) | |
tree | 2c4d8d81c40a58f18861d860e8136400c6c184d4 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 57b06e9711a5ed5accd04b301da0f27f04aa21d3 (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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions