[GIT PULL] regmap fixes for v5.9-rc6
From: Mark Brown
Date: Fri Sep 25 2020 - 16:21:36 EST
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:
Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v5.9-rc6
for you to fetch changes up to 05669b63170771d554854c0e465b76dc98fc7c84:
regmap: fix page selection for noinc writes (2020-09-21 20:58:02 +0100)
----------------------------------------------------------------
regmap: Fixes for v5.9
Two issues here - one is a fix for use after free issues in the case
where a regmap overrides its name using something dynamically generated,
the other is that we weren't handling access checks non-incrementing I/O
on registers within paged register regions correctly resulting in
spurious errors. Both of these are quite rare but serious if they
occur.
----------------------------------------------------------------
Charles Keepax (2):
regmap: debugfs: Fix handling of name string for debugfs init delays
regmap: debugfs: Add back in erroneously removed initialisation of ret
Dmitry Baryshkov (2):
regmap: fix page selection for noinc reads
regmap: fix page selection for noinc writes
drivers/base/regmap/internal.h | 6 +--
drivers/base/regmap/regcache.c | 2 +-
drivers/base/regmap/regmap-debugfs.c | 7 ++--
drivers/base/regmap/regmap.c | 75 +++++++++++++++++++++++-------------
4 files changed, 56 insertions(+), 34 deletions(-)