linux-stable/drivers/regulator
Mark Brown a48f127519
regulator: core: Fix application of "drop lockdep annotation in drms_uA_update()"
[The original commit was sent against -next but needed to be sent as a
bugfix, however -next had some additional changes which needed to be
reverted.  Now everything is all in one branch applying the rest of the
changes to fix up the merge issue -- broonie]

commit e5e21f70bf ("regulator: core: Take lock before applying system
load") took the regulator lock before calling drms_uA_update() in order
to silence a lockdep warning during regulator_register().

However, we are not supposed to need locks at this point as the regulator
is in the process of being registered, so there should be no possibility
of concurrent access.

Instead, remove the unnecessary locking and simply drop the lockdep
annotation, since it is no longer valid.

Fixes: e5e21f70bf ("regulator: core: Take lock before applying system load")
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-18 15:01:37 +00:00
..
88pg86x.c regulator: 88pg86x: new i2c dual regulator chip 2018-03-09 13:01:17 +00:00
88pm800.c regulator: 88pm800: Get rid of struct pm800_regulators 2019-03-15 16:29:21 +00:00
88pm8607.c regulator: 88pm8607: Remove unused fields from struct pm8607_regulator_info 2019-02-26 16:46:10 +00:00
aat2870-regulator.c
ab3100.c regulator: ab3100: Remove ab3100_regulators_remove function 2019-03-11 16:36:18 +00:00
ab8500-ext.c
ab8500.c regulator: ab8500: Drop AB8540/9540 support 2018-04-16 13:08:59 +01:00
act8865-regulator.c regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting 2019-01-14 11:50:42 +00:00
act8945a-regulator.c regulator: act8945a: Use rdev_get_id() to access id of regulator 2019-01-07 17:01:26 +00:00
ad5398.c
anatop-regulator.c regulator: anatop: Switch to SPDX identifier 2018-05-24 15:17:07 +01:00
arizona-ldo1.c regulator: arizona_ldo1: Simplify arizona_ldo1_hc_set/get_voltage_sel 2019-02-26 11:48:34 +00:00
arizona-micsupp.c
as3711-regulator.c regulator: as3711: Remove struct as3711_regulator_info and as3711_regulator 2019-03-18 12:10:45 +00:00
as3722-regulator.c regulator: as3722: Remove *rdevs[] from struct as3722_regulators 2019-03-18 12:00:34 +00:00
axp20x-regulator.c regulator: axp20x: remove a redundant null check on rdev 2019-02-19 15:27:56 +00:00
bcm590xx-regulator.c regulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR 2019-01-07 16:12:33 +00:00
bd718x7-regulator.c regulator: bd718x7: Support SNVS low power state 2019-02-14 15:12:44 +00:00
bd9571mwv-regulator.c regulator: bd9571mwv: Constify regulator_ops 2019-01-24 17:53:12 +00:00
bd70528-regulator.c regulator: bd70528: drop struct bd70528 2019-02-14 14:45:30 +00:00
core.c regulator: core: Fix application of "drop lockdep annotation in drms_uA_update()" 2019-03-18 15:01:37 +00:00
cpcap-regulator.c regulator: cpcap: Convert to use of_device_get_match_data 2019-03-18 12:10:31 +00:00
da903x.c
da9052-regulator.c regulator: da9052: Include linux/of.h to fix build warning for of_match_ptr 2019-03-18 12:00:24 +00:00
da9055-regulator.c regulator: da9055: Convert to regulator core's simplified DT parsing code 2019-03-15 16:29:50 +00:00
da9062-regulator.c regulator: da9062: Convert to use regulator_set/get_current_limit_regmap 2019-03-18 12:12:15 +00:00
da9063-regulator.c regulator: da9063: Convert to use regulator_set/get_current_limit_regmap 2019-03-18 12:12:29 +00:00
da9210-regulator.c regulator: da9210: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:46:25 +00:00
da9210-regulator.h
da9211-regulator.c regulator: da9211: Fix notifier mutex lock warning 2019-03-13 15:11:25 +00:00
da9211-regulator.h regulator: da9211: update for supporting da9223/4/5 2017-10-31 11:01:14 +00:00
db8500-prcmu.c
dbx500-prcmu.c regulator: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-20 14:38:42 +00:00
dbx500-prcmu.h
devres.c
dummy.c
dummy.h
fan53555.c regulator: fan53555: Check pdata->slew_rate setting 2019-02-26 11:48:49 +00:00
fixed-helper.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
fixed.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
gpio-regulator.c regulator: gpio: Constify regulator_ops 2019-03-13 15:09:44 +00:00
helpers.c regulator: core: Add set/get_current_limit helpers for regmap users 2019-03-03 23:45:27 +00:00
hi655x-regulator.c regulator: hi655x: Removed unused ctrl_regs field from struct hi655x_regulator 2019-01-14 11:44:09 +00:00
hi6421-regulator.c regulator: hi6421: Describe consumed platform device 2017-06-07 20:25:49 +01:00
hi6421v530-regulator.c regulator: hi6421v530: Describe consumed platform device 2017-06-14 18:27:20 +01:00
internal.h regulator: core: Only count load for enabled consumers 2018-11-22 14:38:00 +00:00
isl6271a-regulator.c regulator: isl6271a: Constify isl_core_ops and isl_fixed_ops 2019-01-28 15:30:58 +00:00
isl9305.c regulator: isl9305: Add missing .owner field in regulator_desc 2018-08-28 19:41:36 +01:00
Kconfig regulator: da903x: don't build with clang 2019-03-13 15:12:38 +00:00
lm363x-regulator.c regulator: lm363x: Check return value of gpiod_get_index_optional 2019-02-08 16:50:52 +00:00
lochnagar-regulator.c Merge branch 'regulator-5.0' into regulator-5.1 stpmic1 const/range 2019-02-19 11:06:41 +00:00
lp872x.c regulator: lp872x: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:46:45 +00:00
lp873x-regulator.c regulator: lp873x: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:47:06 +00:00
lp3971.c regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops 2019-01-28 12:18:11 +00:00
lp3972.c regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops 2019-01-28 12:20:14 +00:00
lp8755.c regulator: lp8755: Fix notifier mutex lock warning 2019-03-13 15:11:40 +00:00
lp8788-buck.c regulator: lp8788-buck: Convert to linear range 2019-02-11 17:00:22 +00:00
lp8788-ldo.c regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc 2019-01-28 12:21:34 +00:00
lp87565-regulator.c regulator: lp87565: Convert to use regulator_set/get_current_limit_regmap 2019-03-18 12:12:01 +00:00
ltc3589.c regulator: ltc3589: Fix notifier mutex lock warning 2019-03-13 15:11:55 +00:00
ltc3676.c regulator: ltc3676: Fix notifier mutex lock warning 2019-03-13 15:12:09 +00:00
Makefile regulator: max77650: add regulator support 2019-01-29 15:22:12 +00:00
max1586.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
max8649.c
max8660.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
max8907-regulator.c
max8925-regulator.c
max8952.c regulator: max8952: Let core handle GPIO descriptor 2018-12-11 01:03:59 +00:00
max8973-regulator.c regulator: max8973: Let core handle GPIO descriptor 2018-12-11 01:04:31 +00:00
max8997-regulator.c regulator: Use of_node_name_eq for node name comparisons 2018-12-06 19:56:51 +00:00
max8998.c regulator: maxim: Add SPDX license identifiers 2018-08-08 10:52:50 +01:00
max14577-regulator.c regulator: max14577: Get rid of match_init_data/match_of_node functions 2019-03-13 15:12:47 +00:00
max77620-regulator.c regulator: max77620: Add missing .owner field in regulator_desc 2019-02-20 16:46:26 +00:00
max77650-regulator.c regulator: max77650: Use unsigned int for max77651_sbb1_regulator_volt_table 2019-03-18 12:11:00 +00:00
max77686-regulator.c regulator: max77686: Let core handle GPIO descriptor 2018-12-11 01:04:08 +00:00
max77693-regulator.c regulator: maxim: Add SPDX license identifiers 2018-08-08 10:52:50 +01:00
max77802-regulator.c regulator: max77802-regulator: fix indentation in if statement 2019-02-12 14:20:10 +00:00
mc13xxx-regulator-core.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13xxx.h regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13783-regulator.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13892-regulator.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mcp16502.c regulator: mcp16502: Remove module version 2019-02-26 11:49:04 +00:00
mt6311-regulator.c regulator: mt6311: Use linear instead of linear range for mt6311_buck_ops 2019-02-22 15:16:42 +00:00
mt6311-regulator.h
mt6323-regulator.c regulator: mt6323: Use unsigned int for volt_tables 2019-03-18 12:11:09 +00:00
mt6380-regulator.c regulator: mt6380: Use unsigned int for volt_tables 2019-03-18 12:11:23 +00:00
mt6397-regulator.c regulator: mt6397: Use unsigned int for volt_tables 2019-03-18 12:11:33 +00:00
of_regulator.c regulator: Fix trivial language typos 2019-01-08 13:04:47 +00:00
palmas-regulator.c regulator: palmas: Remove *rdev[PALMAS_NUM_REGS] from struct palmas_pmic 2019-03-11 16:36:04 +00:00
pbias-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pcap-regulator.c
pcf50633-regulator.c
pfuze100-regulator.c regulator: pfuze100-regulator: add coin support to PF0100 2018-11-06 17:27:46 +00:00
pv88060-regulator.c regulator: pv88060: Fix notifier mutex lock warning 2019-03-13 15:12:23 +00:00
pv88060-regulator.h
pv88080-regulator.c regulator: pv88080: Fix notifier mutex lock warning 2019-03-13 15:10:27 +00:00
pv88080-regulator.h
pv88090-regulator.c regulator: pv88090: Fix notifier mutex lock warning 2019-03-13 15:10:42 +00:00
pv88090-regulator.h regulator: pv88090: Exception handling for out of bounds 2017-08-30 16:12:17 +01:00
pwm-regulator.c regulator: pwm: No need to make a copy of regulator_ops per instance 2019-01-14 11:46:05 +00:00
qcom-rpmh-regulator.c regulator: Use of_node_name_eq for node name comparisons 2018-12-06 19:56:51 +00:00
qcom_rpm-regulator.c regulator: qcom_rpm-regulator: add NULL check on of_match_device() return value 2017-07-07 13:42:03 +01:00
qcom_smd-regulator.c regulator: qcom-smd: Batch up requests for disabled regulators 2019-01-22 19:15:37 +00:00
qcom_spmi-regulator.c regulator: qcom_spmi: Indent with tabs instead of spaces 2018-07-20 17:40:57 +01:00
rc5t583-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
rk808-regulator.c regulator: rk808: Convert rk805 buck1/2 to use linear range 2019-02-06 15:56:17 +00:00
rn5t618-regulator.c regulator: rn5t618: Do not index regulator_desc arrays by id 2017-10-18 11:23:21 +01:00
rt5033-regulator.c regulator: rt5033: Constify rt5033_safe_ldo_ops and rt5033_buck_ops 2019-02-08 13:06:05 +00:00
s2mpa01.c regulator: s2mpa01: Fix step values for some LDOs 2019-02-13 12:31:19 +00:00
s2mps11.c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 2019-02-11 16:59:29 +00:00
s5m8767.c regulator: s5m8767: Simplify s5m8767_set_voltage_time_sel implementation 2019-02-21 18:54:11 +00:00
sc2731-regulator.c regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE 2018-01-03 12:10:14 +00:00
sky81452-regulator.c
stm32-vrefbuf.c regulator: stm32-vrefbuf: add power management support 2019-02-28 14:20:48 +00:00
stpmic1_regulator.c Merge branch 'regulator-5.0' into regulator-5.1 stpmic1 const/range 2019-02-19 11:06:41 +00:00
stw481x-vmmc.c
sy8106a-regulator.c regulator: add support for SY8106A regulator 2018-05-09 18:25:06 +09:00
ti-abb-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
tps6105x-regulator.c
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c regulator: tps6586x: Add support for TPS658624 2018-04-20 11:44:34 +01:00
tps51632-regulator.c
tps62360-regulator.c
tps65023-regulator.c
tps65086-regulator.c
tps65090-regulator.c regulator: tps65090: Hand over GPIO to regulator core 2018-12-11 01:04:56 +00:00
tps65132-regulator.c
tps65217-regulator.c regulator: tps65217: Fix NULL pointer dereference on probe 2018-07-30 09:41:04 +01:00
tps65218-regulator.c Merge branch 'for-5.0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.1 2019-03-03 23:49:46 +00:00
tps65910-regulator.c regulator: tps65910: fix a missing check of return value 2018-12-21 11:04:59 +00:00
tps65912-regulator.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tps80031-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
twl-regulator.c regulator: twl: Use of_device_get_match_data() 2019-01-22 17:26:16 +00:00
twl6030-regulator.c regulator: twl6030: Constify regulator_ops 2019-02-20 16:53:11 +00:00
uniphier-regulator.c regulator: uniphier: Constify uniphier_regulator_ops 2019-02-02 17:05:42 +01:00
userspace-consumer.c
vctrl-regulator.c
vexpress-regulator.c
virtual.c
wm831x-dcdc.c regulator: wm831x: Fix notifier mutex lock warning 2019-03-13 15:10:56 +00:00
wm831x-isink.c regulator: wm831x-isink: Convert to use regulator_set/get_current_limit_regmap 2019-03-13 15:13:59 +00:00
wm831x-ldo.c regulator: wm831x ldo: Fix notifier mutex lock warning 2019-03-13 15:13:16 +00:00
wm8350-regulator.c regulator: wm8350: Convert to use regulator_set/get_current_limit_regmap 2019-03-13 15:14:13 +00:00
wm8400-regulator.c regulator: wm8400: Fix trivial typo 2019-03-11 16:36:44 +00:00
wm8994-regulator.c regulator: wm8994: Rely on core to handle GPIO descriptor 2018-12-12 16:47:10 +00:00