[GIT PULL] regulator fixes for v5.9-rc4

From: Mark Brown
Date: Fri Sep 11 2020 - 08:27:41 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/regulator.git tags/regulator-fix-v5.9-rc4

for you to fetch changes up to 59ae97a7a9e1499c2070e29841d1c4be4ae2994a:

regulator: pwm: Fix machine constraints application (2020-09-02 19:13:29 +0100)

----------------------------------------------------------------
regulator: Fixes for v5.9

The biggest set of fixes here is those from MichaÅ? MirosÅ?aw fixing some
locking issues with coupled regulators that are triggered in cases where
a coupled regulator is used by a device involved in fs_reclaim like eMMC
storage. These are relatively serious for the affected systems, though
the circumstances where they trigger are very rare.

----------------------------------------------------------------
Axel Lin (1):
regulator: cros-ec-regulator: Add NULL test for devm_kmemdup call

Colin Ian King (1):
regulator: fix spelling mistake "Cant" -> "Can't"

Dmitry Osipenko (1):
regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()

Mark Brown (1):
Merge tag 'v5.9-rc2' into regulator-5.9

MichaÅ? MirosÅ?aw (7):
regulator: push allocation in regulator_init_coupling() outside of lock
regulator: push allocation in regulator_ena_gpio_request() out of lock
regulator: push allocations in create_regulator() outside of lock
regulator: push allocation in set_consumer_device_supply() out of lock
regulator: plug of_node leak in regulator_register()'s error path
regulator: cleanup regulator_ena_gpio_free()
regulator: remove superfluous lock in regulator_resolve_coupling()

Vincent Whitchurch (1):
regulator: pwm: Fix machine constraints application

drivers/regulator/core.c | 179 ++++++++++++++++++----------------
drivers/regulator/cros-ec-regulator.c | 3 +
drivers/regulator/fixed.c | 2 +-
drivers/regulator/pwm-regulator.c | 2 +-
4 files changed, 101 insertions(+), 85 deletions(-)