08 Sep, 2020
1 commit
-
regulator_notifier_call_chain() doesn't need rdev lock and rdev's
existence is assumed in the code anyway. Remove the locks from drivers.Signed-off-by: Michał Mirosław
Acked-by: Adam Thomson
Reviewed-by: Dmitry Osipenko
Link: https://lore.kernel.org/r/42393f66dcc4d80dcd9797be45216b4035aa96cb.1597032945.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown
13 Jan, 2020
1 commit
-
Use the new .probe_new for i2c drivers.
These drivers do not use const struct i2c_device_id * argument, so convert
them to utilise the simplified i2c driver registration.Signed-off-by: Axel Lin
Link: https://lore.kernel.org/r/20200109155808.22003-1-axel.lin@ingics.com
Signed-off-by: Mark Brown
03 May, 2019
1 commit
-
Convert Powerventure Semiconductor PV88060/PV88080/PV88090 regulator
drivers to SPDX identifier.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
13 Mar, 2019
1 commit
-
The mutex for the regulator_dev must be controlled by the caller of
the regulator_notifier_call_chain(), as described in the comment
for that function.Failure to mutex lock and unlock surrounding the notifier call results
in a kernel WARN_ON_ONCE() which will dump a backtrace for the
regulator_notifier_call_chain() when that function call is first made.
The mutex can be controlled using the regulator_lock/unlock() API.Fixes: c90456e36d9c ("regulator: pv88090: new regulator driver")
Suggested-by: Adam Thomson
Signed-off-by: Steve Twiss
Signed-off-by: Mark Brown
04 Mar, 2019
1 commit
-
Use regulator_set/get_current_limit_regmap helpers to save some code.
Signed-off-by: Axel Lin
Acked-by: Steve Twiss ;
Signed-off-by: Mark Brown
19 Feb, 2019
1 commit
-
Fix off-by-one while iterating current_limits array.
The valid index should be 0 ~ n_current_limits -1.Fixes: c90456e36d9c ("regulator: pv88090: new regulator driver")
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
30 Aug, 2017
1 commit
-
This is a patch for exception handlding that the index of array is
out of bounds. And the definitions have been updated to use
proper device name.Signed-off-by: Eric Jeong
Signed-off-by: Mark Brown
01 Feb, 2017
1 commit
-
Declare regulator_ops structure as const as it is only stored in the ops
field of a regulator_desc structure. This field is of type const, so
regulator_ops structures having this property can be made const too.File size before: drivers/regulator/pv88090-regulator.o
text data bss dec hex filename
2829 2032 8 4869 1305 regulator/pv88090-regulator.oFile size after: drivers/regulator/pv88090-regulator.o
text data bss dec hex filename
3341 1520 8 4869 1305 regulator/pv88090-regulator.oSigned-off-by: Bhumika Goyal
Signed-off-by: Mark Brown
30 May, 2016
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
07 Mar, 2016
1 commit
-
This is a patch to fix incorrect clear of event register.
Signed-off-by: James Ban
Signed-off-by: Mark Brown
13 Dec, 2015
2 commits
-
These were supposed to be bitwise AND instead of logical. Also kernel
style is for the operator to be on the first line and I removed some
extra parenthesis.Fixes: c90456e36d9c ('regulator: pv88090: new regulator driver')
Signed-off-by: Dan Carpenter
Signed-off-by: Mark Brown -
Use devm_request_threaded_irq to ensure the irq is freed when unload the
module.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
09 Dec, 2015
1 commit
-
This is the driver for the Powerventure PV88090 BUCKs and LDOs regulator.
It communicates via an I2C bus to the device.Signed-off-by: James Ban
Signed-off-by: Mark Brown