regmap fixes for v7.2-rc7
The following changes since commit 075b74841bd0065a3bda3440873c747938e69b68:
Linux 7.2-rc6 (2026-08-02 16:24:24 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v7.2-rc7
for you to fetch changes up to 4b05ccb17f92268384d483221a577fccfc291c7a:
regcache: Sort the local copy of an unsorted reg_defaults array (2026-08-06 13:01:39 +0100)
----------------------------------------------------------------
regmap: Fixes for v7.2
These patches fix some issues which were noticed in some drivers where caches were not fully resynced after suspend. Drivers are supposed to be sorting the table of register defaults they provide to the core and the core was relying on that but it turns out there are many cases where this does not happen, it's easy to get wrong when using named defines for registers rather than numbers. It is more robust to remove the requirement for sorting and instead have the core ensure everything it needs sorting is sorted so do that.
There will be patches during the merge window sorting the tables in drivers since it is more efficient to do that but this will just be a minor performance win rather than a correctness fix.
----------------------------------------------------------------
Mark Brown (1):
regcache: Use a consistent sort for defaults table
Peter Ujfalusi (1):
regcache: Sort the local copy of an unsorted reg_defaults array
drivers/base/regmap/regcache.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-)
The pull request you sent on Mon, 10 Aug 2026 13:52:14 +0100:
The pull request you sent on Mon, 10 Aug 2026 13:52:14 +0100:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v7.2-rc7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d58772d8520c7ef247c4b95c9bd76d3a25da9ff5
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html