mirror-linux/drivers/base
Charles Keepax fd80df352b
regcache: Add support for sorting defaults arrays
The defaults array in regcache must be sorted into ascending register
address order, because binary search is used to locate values in
the array. Add a helper to sort the register defaults array which
can be useful for systems that dynamically create a defaults array
based on external information.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250217140159.2288784-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-02-27 13:09:11 +00:00
..
firmware_loader Summary: 2025-01-29 10:35:40 -08:00
power PM: sleep: core: Restrict power.set_active propagation 2025-02-09 14:41:48 +01:00
regmap regcache: Add support for sorting defaults arrays 2025-02-27 13:09:11 +00:00
test
Kconfig
Makefile driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00
arch_numa.c
arch_topology.c
attribute_container.c
auxiliary.c
auxiliary_sysfs.c
base.h driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00
bus.c
cacheinfo.c
class.c
component.c
container.c
core.c
cpu.c riscv: Add ghostwrite vulnerability 2025-01-18 12:33:39 -08:00
dd.c
devcoredump.c
devres.c
devtmpfs.c
driver.c
faux.c driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00
firmware.c
hypervisor.c
init.c driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00
isa.c
map.c
memory.c mm: add build-time option for hotplug memory default online type 2025-01-25 20:22:21 -08:00
module.c
node.c
physical_location.c
physical_location.h
pinctrl.c
platform-msi.c
platform.c
property.c
soc.c
swnode.c
syscore.c
topology.c
trace.c
trace.h
transport_class.c